Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better log message in deprecated files/ redirect #5389

Merged
merged 1 commit into from Mar 20, 2014

Conversation

minrk
Copy link
Member

@minrk minrk commented Mar 19, 2014

No description provided.

@damianavila
Copy link
Member

👍

if not os.path.exists(files_path):
self.log.warn("Deprecated files path: %s", path)
Copy link
Member

Choose a reason for hiding this comment

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

Maybe add a leading / to the word files here to emphasize this is specifically the URL /files not some generic "files" notion.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure. I added a trailing / (not leading, because leading / was never correct - files/ URLs always had to be relative links)

@ellisonbg
Copy link
Member

Great, merging.

ellisonbg added a commit that referenced this pull request Mar 20, 2014
better log message in deprecated files/ redirect
@ellisonbg ellisonbg merged commit 985a78f into ipython:master Mar 20, 2014
@minrk minrk deleted the log-files-redirect branch March 31, 2014 23:36
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
better log message in deprecated files/ redirect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants