Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use simpler relative imports

  • Loading branch information...
commit 2b583a851899419fafad7e8f72a3f2d70a13122f 1 parent ade024b
@kamens kamens authored
View
2  appstats_profiler.py
@@ -11,7 +11,7 @@
import cleanup
import unformatter
-from gae_mini_profiler import util
+import util
class Profile(object):
"""Profiler that wraps appstats for programmatic access and reporting."""
View
2  instrumented_profiler.py
@@ -20,7 +20,7 @@
import pstats
import StringIO
-from gae_mini_profiler import util
+import util
class Profile(object):
"""Profiler that wraps cProfile for programmatic access and reporting."""
View
2  main.py
@@ -1,7 +1,7 @@
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
-from gae_mini_profiler import profiler
+import profiler
application = webapp.WSGIApplication([
("/gae_mini_profiler/request", profiler.RequestStatsHandler),
View
6 profiler.py
@@ -27,10 +27,8 @@
import cookies
import pickle
-
-import gae_mini_profiler.config
-from gae_mini_profiler import util
-from gae_mini_profiler import config
+import config
+import util
dev_server = os.environ["SERVER_SOFTWARE"].startswith("Devel")
Please sign in to comment.
Something went wrong with that request. Please try again.