Browse files

simplify condition

1 parent 7aecc64 commit 9ead32271689e720ec58bb0472ad4ae70b926af2 @jdobes jdobes committed Jul 27, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 backend/server/importlib/backendOracle.py
View
2 backend/server/importlib/backendOracle.py
@@ -627,7 +627,7 @@ def processCapabilities(self, capabilityHash):
h = self.dbmodule.prepare_secondary(sql)
for name, version in capabilityHash.keys():
ver = version
- if version is None or version == '':
+ if version == '':
ver = None
h.execute(name=name, version=ver)
row = h.fetchone_dict()

0 comments on commit 9ead322

Please sign in to comment.