Permalink
Browse files

absolute import from parent project, otherwise, import relatively

  • Loading branch information...
1 parent d5e052c commit f05ca5c88d7ccea516925874fa7b557174227410 @progrium progrium committed Jan 30, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 keymaster.py
View
@@ -34,7 +34,10 @@
from google.appengine.ext import webapp
from google.appengine.ext.webapp import util
-from utils import RedirectException
+try:
+ from shared.utils import RedirectException
+except ImportError:
+ from utils import RedirectException
try:
from Crypto.Cipher import ARC4

0 comments on commit f05ca5c

Please sign in to comment.