Skip to content
Browse files

Removed global config access. That was slightly dumb.

  • Loading branch information...
1 parent b2a2dba commit 290bc556c1d8da4b1d9cbad24bf6014c08838a91 @brosner committed
Showing with 0 additions and 3 deletions.
  1. +0 −3 bosnowsgi.py
View
3 bosnowsgi.py
@@ -7,8 +7,6 @@
from optparse import OptionParser
from cherrypy.wsgiserver import CherryPyWSGIServer
-config = {}
-
class ImproperlyConfigured(Exception):
pass
@@ -129,7 +127,6 @@ def main():
Handles the main bit of the program. Called when ran standalone from the
command-line.
"""
- global config
if len(sys.argv[1:]) < 2:
sys.exit("you must specify a server name and command.")
name, command = sys.argv[1:3]

0 comments on commit 290bc55

Please sign in to comment.
Something went wrong with that request. Please try again.