summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rwxr-xr-xsrc/lib/Server/Admin/Reports.py2
-rw-r--r--src/lib/Server/Plugins/Packages.py2
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