mirror of
https://github.com/rclone/rclone.git
synced 2025-08-09 05:54:43 +02:00
bin: convert python scripts to python3
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python2
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Make backend documentation
|
||||
"""
|
||||
@ -52,9 +52,9 @@ if __name__ == "__main__":
|
||||
for backend in find_backends():
|
||||
try:
|
||||
alter_doc(backend)
|
||||
except Exception, e:
|
||||
print "Failed adding docs for %s backend: %s" % (backend, e)
|
||||
except Exception as e:
|
||||
print("Failed adding docs for %s backend: %s" % (backend, e))
|
||||
failed += 1
|
||||
else:
|
||||
success += 1
|
||||
print "Added docs for %d backends with %d failures" % (success, failed)
|
||||
print("Added docs for %d backends with %d failures" % (success, failed))
|
||||
|
Reference in New Issue
Block a user