[Lint] Fix triple-quoted to use double-quotes not single
* according to pep8 triple-quotes should use double-quote.
This commit is contained in:
parent
9ebe30edfc
commit
579f56b0bf
|
@ -890,7 +890,7 @@ class VersionSplit(object):
|
|||
|
||||
"""
|
||||
def __init__(self, ver):
|
||||
version_re = re.compile(r'''
|
||||
version_re = re.compile(r"""
|
||||
^
|
||||
(?P<version>\d+\.\d+) # minimum 'N.N'
|
||||
(?P<extraversion>(?:\.\d+)*) # any number of extra '.N' segments
|
||||
|
@ -900,7 +900,7 @@ class VersionSplit(object):
|
|||
(?P<prerelversion>\d+(?:\.\d+)*)
|
||||
)?
|
||||
(?P<postdev>(\.post(?P<post>\d+))?(\.dev(?P<dev>\d+))?)?
|
||||
$''', re.VERBOSE)
|
||||
$""", re.VERBOSE)
|
||||
|
||||
# Check for PEP 386 compliant version
|
||||
match = re.search(version_re, ver)
|
||||
|
@ -991,7 +991,7 @@ def create_localclient_account(append=False):
|
|||
|
||||
|
||||
def set_env_variable(name, value):
|
||||
'''
|
||||
"""
|
||||
:param name: environment variable name
|
||||
:param value: environment variable value
|
||||
|
||||
|
@ -1010,7 +1010,7 @@ def set_env_variable(name, value):
|
|||
|
||||
Basen on _putenv in TransUtils.py from sourceforge project gramps
|
||||
http://sourceforge.net/p/gramps/code/HEAD/tree/branches/maintenance/gramps32/src/TransUtils.py
|
||||
'''
|
||||
"""
|
||||
# Update Python's copy of the environment variables
|
||||
try:
|
||||
os.environ[name] = value
|
||||
|
|
4
setup.py
4
setup.py
|
@ -486,10 +486,10 @@ setup(
|
|||
author='Andrew Resch, Damien Churchill',
|
||||
author_email='andrewresch@gmail.com, damoxc@gmail.com',
|
||||
keywords='torrent bittorrent p2p fileshare filesharing',
|
||||
long_description='''Deluge is a BitTorrent client that utilizes a
|
||||
long_description="""Deluge is a BitTorrent client that utilizes a
|
||||
daemon/client model. There are various user interfaces available for
|
||||
Deluge such as the GTK-UI, the Web-UI and a Console-UI. Deluge uses
|
||||
libtorrent in it's backend to handle the BitTorrent protocol.''',
|
||||
libtorrent in it's backend to handle the BitTorrent protocol.""",
|
||||
url='http://deluge-torrent.org',
|
||||
license='GPLv3',
|
||||
cmdclass=cmdclass,
|
||||
|
|
Loading…
Reference in New Issue