Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix #193 by basing path off of warehouse not warehouse.application #206

Merged
merged 1 commit into from

1 participant

@dstufft
Owner

No description provided.

@dstufft dstufft referenced this pull request
Closed

Module Import Errors #193

@dstufft dstufft merged commit 8e47fe7 into pypa:master
@dstufft dstufft deleted the dstufft:resolve-circular-import branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 warehouse/helpers.py
View
4 warehouse/helpers.py
@@ -20,7 +20,7 @@
import urllib
import urlparse
-import warehouse.application
+import warehouse
def url_for(request, endpoint, **values):
@@ -50,7 +50,7 @@ def static_url(app, filename):
static_url('css/bootstrap.css')
"""
static_dir = os.path.join(
- os.path.dirname(os.path.abspath(warehouse.application.__file__)),
+ os.path.dirname(os.path.abspath(warehouse.__file__)),
"static",
"compiled",
)
Something went wrong with that request. Please try again.