Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1245 from ztane/patch-2

Fix pserve --reload on Py3 (the simple solution)
  • Loading branch information...
commit 8a18d8749fbbfcc23bb503e9ba5fff8fcc34222b 2 parents c444a31 + 606a54c
@tseaver tseaver authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  pyramid/scripts/pserve.py
View
2  pyramid/scripts/pserve.py
@@ -811,7 +811,7 @@ def check_reload(self):
print(
"Error calling reloader callback %r:" % file_callback)
traceback.print_exc()
- for module in sys.modules.values():
+ for module in list(sys.modules.values()):
try:
filename = module.__file__
except (AttributeError, ImportError):
Please sign in to comment.
Something went wrong with that request. Please try again.