[aur-general] [PATCH] __init__.py: gnomemenu removed, prettify code
Abhishek Dasgupta
abhidg at gmail.com
Wed May 13 04:15:52 EDT 2009
Each module is put on a separate line in alphabetical
order. This makes removal and addition of modules easier
to spot in the diffs. I've used split() here so that I
can do without the quotes and commas in the list.
Signed-off-by: Abhishek Dasgupta <abhidg at gmail.com>
---
Namcap/__init__.py | 34 ++++++++++++++++++++++++++++++++--
1 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/Namcap/__init__.py b/Namcap/__init__.py
index 5100ed3..484d8a8 100644
--- a/Namcap/__init__.py
+++ b/Namcap/__init__.py
@@ -17,9 +17,39 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-__tarball__ = ['depends', 'directoryname', 'fileownership', 'gnomemenu', 'perllocal', 'permissions', 'symlink', 'urlpkg', 'capsnamespkg', 'emptydir', 'scrollkeeper', 'libtool', 'gnomemime', 'licensepkg', 'infodirectory', 'fhsmanpages', 'fhsinfopages']
+__tarball__ = """
+ capsnamespkg
+ depends
+ directoryname
+ emptydir
+ fhsmanpages
+ fhsinfopages
+ fileownership
+ gnomemime
+ infodirectory
+ libtool
+ licensepkg
+ perllocal
+ permissions
+ scrollkeeper
+ symlink
+ urlpkg
-__pkgbuild__ = ['md5sums', 'tags', 'url', 'invalidstartdir', 'capsnames', 'carch', 'sfurl', 'badbackups', 'license', 'arrays']
+""".split()
+
+__pkgbuild__ = """
+ arrays
+ badbackups
+ capsnames
+ carch
+ invalidstartdir
+ license
+ md5sums
+ sfurl
+ tags
+ url
+
+""".split()
__all__ = __tarball__ + __pkgbuild__
--
1.6.2.3
--
Abhishek Dasgupta <http://abhidg.mine.nu>
GPG 67972DOF pgp.mit.edu
More information about the aur-general
mailing list