diff options
Diffstat (limited to 'src/lib')
-rwxr-xr-x | src/lib/Server/Admin/Reports.py | 2 | ||||
-rw-r--r-- | src/lib/Server/Plugins/Packages.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Admin/Reports.py b/src/lib/Server/Admin/Reports.py index 91d25a0b0..7d075c73b 100755 --- a/src/lib/Server/Admin/Reports.py +++ b/src/lib/Server/Admin/Reports.py @@ -13,7 +13,7 @@ from Bcfg2.Server.Reports.utils import * from lxml.etree import XML, XMLSyntaxError # FIXME: Remove when server python dep is 2.5 or greater -if sys.version_info >= (2, 5):: +if sys.version_info >= (2, 5): from hashlib import md5 else: from md5 import md5 diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py index 61d6e1778..06efa2939 100644 --- a/src/lib/Server/Plugins/Packages.py +++ b/src/lib/Server/Plugins/Packages.py @@ -10,7 +10,7 @@ import sys import urllib2 # FIXME: Remove when server python dep is 2.5 or greater -if sys.version_info >= (2, 5):: +if sys.version_info >= (2, 5): from hashlib import md5 else: from md5 import md5 |