Commits

Francois Dion  committed b09297e

pep8 compliance

  • Participants
  • Parent commits 638251f

Comments (0)

Files changed (3)

File webpy/debug/de1.py

 #web.config.debug = False
 web.config.debug = True
 
+
 class Hello:
     def GET(self):
         nonsense
         return "hello world"
 
-URLS = ( '/', Hello )
+URLS = ('/', Hello)
 
 if __name__ == "__main__":
     app = web.application(URLS, globals(), autoreload=True)

File webpy/debug/de2.py

 import web
 
+
 class Hello:
     def GET(self):
         return "hello world"
 
-URLS = ( '/', Hello )
+URLS = ('/', Hello)
 
 if __name__ == "__main__":
     my_app = web.application(URLS, globals(), autoreload=True)

File webpy/debug/de3.py

 )
 app = web.application(urls, globals())
 
+
 def nointernalerror():
     raise sys.exc_info()
 
 app.internalerror = nointernalerror
 
+
 class hello:
     def GET(self):
-        x = y+1 # raise error
+        x = y + 1  # raise error
         return "hello word"
 
 if __name__ == "__main__":