Make print statements Python 3 compatible
This commit is contained in:
parent
d0428979d8
commit
3d1a8302ba
@ -64,9 +64,9 @@ def compare_versions(self, ver1, oper, ver2):
|
||||
|
||||
def main():
|
||||
api = AlpmAPI()
|
||||
print api.version()
|
||||
print api.vercmp(1, 2)
|
||||
print api.compare_versions(1, '<', 2)
|
||||
print(api.version())
|
||||
print(api.vercmp(1, 2))
|
||||
print(api.compare_versions(1, '<', 2))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
Reference in New Issue
Block a user