mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-18 02:21:08 +00:00
Strip trailing whitespace
This commit is contained in:
parent
27365f9dd4
commit
516b264a8f
@ -32,7 +32,6 @@ def system_distribution():
|
||||
Detect the system's distribution and return it as a string. If the
|
||||
name of the distribution can't be determined, print an error message
|
||||
and return None.
|
||||
|
||||
"""
|
||||
# We try to avoid calling the "lsb_release" as looking up the value
|
||||
# directly is faster. However, Debian doesn't have /etc/lsb-release
|
||||
@ -55,7 +54,6 @@ def host_architecture():
|
||||
|
||||
Detect the host's architecture and return it as a string. If the
|
||||
architecture can't be determined, print an error message and return None.
|
||||
|
||||
"""
|
||||
|
||||
arch = Popen(['dpkg', '--print-architecture'], stdout=PIPE, \
|
||||
@ -73,7 +71,6 @@ def readlist(filename, uniq=True):
|
||||
|
||||
Read a list of words from the indicated file. If 'uniq' is True, filter
|
||||
out duplicated words.
|
||||
|
||||
"""
|
||||
|
||||
if not os.path.isfile(filename):
|
||||
|
Loading…
x
Reference in New Issue
Block a user