1# Copyright (c) 2008-2009 The Hewlett-Packard Development Company
2# Copyright (c) 2004-2006 The Regents of The University of Michigan
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;
--- 25 unchanged lines hidden (view full) ---
34import convert
35import jobfile
36
37from attrdict import attrdict, multiattrdict, optiondict
38from code_formatter import code_formatter
39from multidict import multidict
40from orderdict import orderdict
41from smartdict import SmartDict
42
43# define this here so we can use it right away if necessary
44def errorURL(prefix, s):
45 try:
46 import zlib
47 hashstr = "%x" % zlib.crc32(s)
48 except:
49 hashstr = "UnableToHash"
--- 139 unchanged lines hidden ---
2# Copyright (c) 2004-2006 The Regents of The University of Michigan
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;
--- 25 unchanged lines hidden (view full) ---
34import convert
35import jobfile
36
37from attrdict import attrdict, multiattrdict, optiondict
38from code_formatter import code_formatter
39from multidict import multidict
40from orderdict import orderdict
41from smartdict import SmartDict
42
43# define this here so we can use it right away if necessary
44def errorURL(prefix, s):
45 try:
46 import zlib
47 hashstr = "%x" % zlib.crc32(s)
48 except:
49 hashstr = "UnableToHash"
--- 139 unchanged lines hidden ---