From 67f9f405d24d02dcda67344b2275c6b317a85c44 Mon Sep 17 00:00:00 2001 From: Jochen Schmitt Date: Sun, 26 Sep 2010 20:28:19 +0200 Subject: Remove parenthesises on mymodule.nvr --- src/fedpkg.py | 2 +- src/pyfedpkg/__init__.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/fedpkg.py b/src/fedpkg.py index 1ad450f..2d7fff2 100755 --- a/src/fedpkg.py +++ b/src/fedpkg.py @@ -459,7 +459,7 @@ def commit(args): try: if not mymodule: mymodule = pyfedpkg.PackageModule(args.path) - tagname = mymodule.nvr() + tagname = mymodule.nvr pyfedpkg.add_tag(tagname, True, args.message, args.file) except pyfedpkg.FedpkgError, e: log.error('Coult not create a tag: %s' % e) diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py index d2783d6..48a4024 100644 --- a/src/pyfedpkg/__init__.py +++ b/src/pyfedpkg/__init__.py @@ -1284,10 +1284,6 @@ class PackageModule: # Get just the output, then split it by space, grab the first return output[0].split()[0] - def getnvr(self): - """Return Name-Version-Release of a package""" - return self.nvr - def getrel(self): """Return the version-release of a package module.""" -- cgit