diff options
Diffstat (limited to 'modules/package_module.py')
-rw-r--r-- | modules/package_module.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/package_module.py b/modules/package_module.py index b663c28..e10e835 100644 --- a/modules/package_module.py +++ b/modules/package_module.py @@ -75,16 +75,16 @@ class Package(object): self.raw_name = self.name self.major_minor = self.parse_mm(self.version) # else: -# print "Error, " + raw_string + " is not a valid package!" +# print("Error, " + raw_string + " is not a valid package!") def parse_mm(self, version): return '.'.join(version.split('.')[0:2]) def print_info(self): - print "Name: " + str(self.name) - print "Version: " + str(self.package_version) - print "Name+Version: " + str(self.name_plus_version) - print "Raw: " + str(self.raw_string) + print("Name: " + str(self.name)) + print("Version: " + str(self.package_version)) + print("Name+Version: " + str(self.name_plus_version)) + print("Raw: " + str(self.raw_string)) def __repr__(self): return self.name_plus_version |