diff options
-rwxr-xr-x | src/fedpkg.py | 2 | ||||
-rw-r--r-- | src/pyfedpkg/__init__.py | 4 |
2 files changed, 1 insertions, 5 deletions
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.""" |