This repository was archived by the owner on Sep 10, 2019. It is now read-only.
Allow for specification of a folder using it's UUID and updated Readme to include new commands#6
Open
Beachman4 wants to merge 5 commits into
Open
Allow for specification of a folder using it's UUID and updated Readme to include new commands#6Beachman4 wants to merge 5 commits into
Beachman4 wants to merge 5 commits into
Conversation
I had issues with printing not working how it was, switching to this type of printing worked for me, might just be a me thing
Owner
|
Looks good so far for #5 . The difference between print and print as function is python2 and python3. Personally i only tested it on python2, so far i unterstand it is working for you on python3 with the changes? I'm currently not sure if we should hold python2 support. Because Debian 8 there is python2 still default AFAIK, it may causes confusion for the user. If we go to python3 we should alse change the interpreter header to python3 for systems where python2 is still default. |
|
Using the print function is fine for both versions (and makes sense for compatibility reasons) BUT you have to import the new print function by adding from __future__ import print_functionas the very first import to make it work for python 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I also changed the print statement to use print() instead of how it was. This may have been an issue for me, but the print statement was not working for me.