Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

migrate apps/amo/utils.py #2812

Merged
merged 1 commit into from Dec 31, 2014
Merged

migrate apps/amo/utils.py #2812

merged 1 commit into from Dec 31, 2014

Conversation

eviljeff
Copy link
Member

large number of changes with very little real change. Deleted unused code from utils and moved the rest (pretty much)

@eviljeff eviljeff force-pushed the 2014-12-30 branch 2 times, most recently from c01a4ae to 66d0c68 Compare December 31, 2014 13:16
@@ -108,10 +108,9 @@ def __call__(self, *args, **kw):
or 'django/core/files/storage.py:url' in file_fn
or 'django/core/files/storage.py:save' in file_fn
or 'django/core/files/storage.py:delete' in file_fn
or 'amo/utils.py:path' in file_fn # storage API
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file even used any more? I keep patching it but the comments imply it was only a temporary measure.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you can remove it entirely.

from mkt.site.helpers import absolutify
from mkt.site.utils import urlparams
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason these can't be up at the top with the rest of the imports?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure. I guess the author of lines had their reasons (at some point in the distant past). I can change and assume test failures will pick up any difficulties I suppose.

@robhudson
Copy link
Member

r+wc

eviljeff added a commit that referenced this pull request Dec 31, 2014
@eviljeff eviljeff merged commit 3246f8d into mozilla:master Dec 31, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants