summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/fedpkg.py')
-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: