from distutils.core import setup
# check for the correct version of python
-major,minor = sys.version_info [0:2]
-if (major,minor) != (2,7):
+major, minor = sys.version_info [0:2]
+if (major, minor) != (2, 7):
print ("Sorry, the SFA package is currently available only with python-2.7")
exit(1)
]
initscripts = [ 'sfa' ]
-if not os.path.isfile('/etc/redhat-release'): initscripts.append('functions.sfa')
+if not os.path.isfile('/etc/redhat-release'):
+ initscripts.append('functions.sfa')
data_files = [ ('/etc/sfa/', [ 'config/aggregates.xml',
'config/registries.xml',
raise SfaAPIError("Xrn.urn_to_hrn")
parts = Xrn.urn_split(self.urn)
- type=parts.pop(2)
+ type = parts.pop(2)
# Remove the authority name (e.g. '.sa')
if type == 'authority':
name = parts.pop()