Permalink
Browse files

more doc polishing, making imports pep 8 compliant

  • Loading branch information...
1 parent 8077c90 commit 5f075943e707544bc56f04c7c607a609a91c88b4 @progrium progrium committed Jan 18, 2011
Showing with 12 additions and 6 deletions.
  1. +2 −2 api.py
  2. +2 −1 fabfile.py
  3. +8 −3 keymaster.py
View
4 api.py
@@ -1,7 +1,7 @@
""" API access to other Dojo apps
-Here we have wrappers for accessing data in other Hacker Dojo applications that
-take care of local caching and failure scenarios.
+Here we have wrappers for accessing data in other Hacker Dojo applications.
+They will take care of local caching and failure scenarios.
One common failure scenario is that App Engine instances can take a while to
respond as they spin up after a period of inactivity, which commonly times out
View
3 fabfile.py
@@ -1,4 +1,5 @@
from fabric.api import local
def test():
- local("nosetests -v --with-gae", capture=False)
+ """ Run tests in the GAE environment """
+ local("nosetests --with-gae", capture=False)
View
11 keymaster.py
@@ -24,10 +24,15 @@
with cron.yaml, you can also use keymaster.set(key, secret)
"""
-from google.appengine.api import urlfetch, memcache, users
-from google.appengine.ext import webapp, db
-from google.appengine.ext.webapp import util
import os
+
+from google.appengine.api import memcache
+from google.appengine.api import urlfetch
+from google.appengine.api import users
+from google.appengine.ext import db
+from google.appengine.ext import webapp
+from google.appengine.ext.webapp import util
+
try:
from Crypto.Cipher import ARC4
except ImportError:

0 comments on commit 5f07594

Please sign in to comment.