sksdump fix. again.
This commit is contained in:
parent
fb7d964516
commit
23a0dfedb1
1
gpg/kant/.gitignore
vendored
1
gpg/kant/.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/gpgme.pdf
|
/gpgme.pdf
|
||||||
|
/tests
|
@ -113,8 +113,10 @@ def destPrep(args):
|
|||||||
if len(os.listdir(thisdir)) == 0:
|
if len(os.listdir(thisdir)) == 0:
|
||||||
os.rmdir(thisdir)
|
os.rmdir(thisdir)
|
||||||
for d in dirs:
|
for d in dirs:
|
||||||
if len(os.listdir(os.path.join(thisdir, d))) == 0:
|
_dir = os.path.join(thisdir, d)
|
||||||
os.rmdir(os.path.join(thisdir, d))
|
if os.path.isdir(_dir):
|
||||||
|
if len(os.listdir(_dir)) == 0:
|
||||||
|
os.rmdir(os.path.join(thisdir, d))
|
||||||
#try:
|
#try:
|
||||||
# os.removedirs(sks['destdir']) # Remove empty dirs
|
# os.removedirs(sks['destdir']) # Remove empty dirs
|
||||||
#except:
|
#except:
|
||||||
|
Loading…
Reference in New Issue
Block a user