Skip to content

Commit f6d3b65

Browse files
Fix format style
1 parent a75978c commit f6d3b65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/migrate/migrate_to_new_id.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
parser.add_argument("--dbUrl", required=True, help="Server URL of the database, that has to be cleaned of old activations. E.g. 'https://xxx:[email protected]:443'")
3030
parser.add_argument("--dbName", required=True, help="Name of the Database of the actions to be migration.")
3131
parser.add_argument("--docsPerRequest", type=int, default=200, help="Number of documents handled on each CouchDb Request. Default is 200.")
32-
32+
3333
args = parser.parse_args()
3434

3535
db = couchdb.client.Server(args.dbUrl)[args.dbName]
@@ -39,7 +39,7 @@
3939
while len(actions) != 0:
4040
for action in actions:
4141
actionName = "%s/%s" % (action.value["namespace"], action.value["name"])
42-
newId = "%s@%s" % (actionName, action.value["version"])
42+
newId = "%s@%s" % (actionName, action.value["version"])
4343
# this action is using old style id, copy it with new id which append `@version` to it
4444
if(action.id != newId):
4545
print("Copy %s to %s:...........\n" % (action.id, newId))

0 commit comments

Comments
 (0)