summaryrefslogtreecommitdiff
path: root/yarns.webapp/yarnlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'yarns.webapp/yarnlib.py')
-rw-r--r--yarns.webapp/yarnlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yarns.webapp/yarnlib.py b/yarns.webapp/yarnlib.py
index 89f87d9..4582649 100644
--- a/yarns.webapp/yarnlib.py
+++ b/yarns.webapp/yarnlib.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2015 Codethink Limited
+# Copyright (C) 2015-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
@@ -25,7 +25,7 @@ def matches():
matches = {}
prefix = "MATCH_"
- for key, value in os.environ.iteritems():
+ for key, value in os.environ.items():
if key.startswith(prefix):
stripped_key = key[len(prefix):]
if stripped_key.isdigit() and stripped_key != "0":