PyLint tweaks.
Added .pylint-ignores patchfile, with waived PyLint warnings
This commit is contained in:
parent
3e5ba6ae28
commit
d8e874aad6
8 changed files with 250 additions and 12 deletions
|
@ -44,7 +44,7 @@ def main(args=sys.argv[1:]):
|
|||
action="store_true", dest="pretty", default=False)
|
||||
parser.add_option('-v', help="Verbose output",
|
||||
action="store_true", dest="verbose", default=False)
|
||||
parser.add_option('--version', help="Display the current version information",
|
||||
parser.add_option('--version', help="Display the current version",
|
||||
action="store_true")
|
||||
parser.add_option('--help', help='show this help message',
|
||||
action="store_true")
|
||||
|
@ -107,7 +107,8 @@ def main(args=sys.argv[1:]):
|
|||
|
||||
def extract_files(params):
|
||||
"""
|
||||
Extract filenames from the "photo" parameter, so they can be uploaded, returning (updated_params, files).
|
||||
Extract filenames from the "photo" parameter so they can be uploaded,
|
||||
returning (updated_params, files).
|
||||
Uses the same technique as the Trovebox PHP commandline tool:
|
||||
* Filename can only be in the "photo" parameter
|
||||
* Filename must be prefixed with "@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue