diff options
author | Michael Elkins <melkins@tislabs.com> | 2013-03-06 17:06:46 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2013-03-06 17:06:46 +0000 |
commit | a2f74605412424b632a6738be4db8dc7e71d49f6 (patch) | |
tree | 8c2b8ce80739a5cfb8fa8d9e75f47bbb47d2181a | |
parent | ff8f7d19b4ef61edb1939e51c5ddf92ce2372807 (diff) |
comment out debug statement printing sys.path
see #447
svn path=/trunk/; revision=5111
-rw-r--r-- | rpkid/portal-gui/rpki.wsgi.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rpkid/portal-gui/rpki.wsgi.in b/rpkid/portal-gui/rpki.wsgi.in index 3d198349..ac3f0186 100644 --- a/rpkid/portal-gui/rpki.wsgi.in +++ b/rpkid/portal-gui/rpki.wsgi.in @@ -1,5 +1,5 @@ # Copyright (C) 2010, 2011 SPARTA, Inc. dba Cobham Analytic Solutions -# Copyright (C) 2012 SPARTA, Inc. a Parsons Company +# Copyright (C) 2012, 2013 SPARTA, Inc. a Parsons Company # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -25,6 +25,7 @@ import sys old_sys_path = list(sys.path) + def walk_error(e): 'This function is invoked when os.walk() needs to report an error' print >>sys.stderr, 'error reading %s: %s' % (e.filename, e) @@ -54,7 +55,7 @@ for elt in list(sys.path): sys.path.remove(elt) sys.path[:0] = new_sys_path -print >>sys.stderr, sys.path +#print >>sys.stderr, sys.path import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() |