From 9a5ea24c80eca9592e0ad32cfdaf173e1815cb5e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 13 Feb 2006 22:27:11 +0000 Subject: [PATCH] bitbale/lib/bb/fetch/cvs.py: -Error out if the requested module does not exist with the specified SRCDATE. This happened with: /usr/bin/env cvs -d:pserver:anonymous@thinktux.net:/root co -D 20050926 e17/libs/evas/m4 --- lib/bb/fetch/cvs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/fetch/cvs.py b/lib/bb/fetch/cvs.py index 461a2f5..1f75f77 100644 --- a/lib/bb/fetch/cvs.py +++ b/lib/bb/fetch/cvs.py @@ -194,7 +194,7 @@ class Cvs(Fetch): bb.debug(1, "Running %s" % cvscmd) myret = os.system(cvscmd) - if myret != 0: + if myret != 0 or not os.access(moddir, os.R_OK): try: os.rmdir(moddir) except OSError: -- 2.7.4