summaryrefslogtreecommitdiff
path: root/lorrycontroller/lstroves.py
diff options
context:
space:
mode:
Diffstat (limited to 'lorrycontroller/lstroves.py')
-rw-r--r--lorrycontroller/lstroves.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lorrycontroller/lstroves.py b/lorrycontroller/lstroves.py
index 456359c..34648cb 100644
--- a/lorrycontroller/lstroves.py
+++ b/lorrycontroller/lstroves.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2016 Codethink Limited
+# Copyright (C) 2014-2019 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -126,7 +126,7 @@ class TroveRepositoryLister(object):
def update_lorries_for_trove(self, statedb, trove_info, repo_map):
trovehost = trove_info['trovehost']
- for remote_path, local_path in repo_map.items():
+ for remote_path, local_path in list(repo_map.items()):
lorry = self.construct_lorry(trove_info, local_path, remote_path)
statedb.add_to_lorries(
path=local_path,