summaryrefslogtreecommitdiff
path: root/test/pacman/pmpkg.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-17 16:56:07 -0500
committerDan McGee <dan@archlinux.org>2011-08-17 17:03:19 -0500
commit3ceef97799da9ec938dbade9e08e624ebb5fcea7 (patch)
tree9b4dc9f656e6b4775c1778ce51fada587fc73072 /test/pacman/pmpkg.py
parentb2688e95590a5f98ff3ed4d9561b4e3d4c203d1a (diff)
Fix trailing whitespace in whole codebase
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/pmpkg.py')
-rw-r--r--test/pacman/pmpkg.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/pacman/pmpkg.py b/test/pacman/pmpkg.py
index 7aa77f6a..00f345c0 100644
--- a/test/pacman/pmpkg.py
+++ b/test/pacman/pmpkg.py
@@ -1,7 +1,7 @@
#! /usr/bin/python
#
# Copyright (c) 2006 by Aurelien Foret <orelien@chez.com>
-#
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@@ -27,7 +27,7 @@ import util
class pmpkg(object):
"""Package object.
-
+
Object holding data from an Arch Linux package.
"""
@@ -79,14 +79,14 @@ class pmpkg(object):
def fullname(self):
"""Long name of a package.
-
+
Returns a string formatted as follows: "pkgname-pkgver".
"""
return "%s-%s" % (self.name, self.version)
def filename(self):
"""File name of a package, including its extension.
-
+
Returns a string formatted as follows: "pkgname-pkgver.PKG_EXT_PKG".
"""
return "%s%s" % (self.fullname(), util.PM_EXT_PKG)
@@ -104,7 +104,7 @@ class pmpkg(object):
def makepkg(self, path):
"""Creates an Arch Linux package archive.
-
+
A package archive is generated in the location 'path', based on the data
from the object.
"""