From 557c078fdcd191321bc672a0c0625108684e868c Mon Sep 17 00:00:00 2001 From: Bogdano Arendartchuk Date: Sat, 22 Jul 2006 00:38:32 +0000 Subject: - removed wrong parameter passed to svn.exists --- RepSys/rpmutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RepSys/rpmutil.py b/RepSys/rpmutil.py index 3adbaa3..5931ab2 100644 --- a/RepSys/rpmutil.py +++ b/RepSys/rpmutil.py @@ -142,7 +142,7 @@ def put_srpm(pkgdirurl, srpmfile, appendname=0, log=""): version_exists = 1 currentdir = os.path.join(tmpdir, "current") else: - if svn.exists(releaseurl, noerror=1): + if svn.exists(releaseurl): raise Error, "release already exists" svn.checkout("/".join([pkgdirurl, "current"]), tmpdir) svn.mkdir(versionurl, noerror=1, -- cgit v1.2.1