summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-01-06 14:03:52 -0800
committerJesse Keating <jkeating@redhat.com>2010-01-06 16:56:27 -0800
commit3eb44a2d4ba388e0b8bb45904c8a7f38889f028a (patch)
tree0b9ec5090bda3fdfe121b72af0a8e557bd7838bd /src
parent7b0b6b75ae2e863de485ec2f5163db50b03bfb34 (diff)
downloadfedora-packager-3eb44a2d4ba388e0b8bb45904c8a7f38889f028a.tar.gz
fedora-packager-3eb44a2d4ba388e0b8bb45904c8a7f38889f028a.tar.xz
fedora-packager-3eb44a2d4ba388e0b8bb45904c8a7f38889f028a.zip
Wire up new.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/fedpkg.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index c2e68f9..3852cfd 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -126,8 +126,11 @@ def mockbuild(args):
log.warning('Not implimented yet, got %s' % args)
def new(args):
- # not implimented
- log.warning('Not implimented yet, got %s' % args)
+ try:
+ print(fedpkg.new(args.path))
+ except fedpkg.FedpkgError, e:
+ log.error('Could not get new changes: %s' % e)
+ sys.exit(1)
def new_sources(args):
try: