# HG changeset patch # User Changaco # Date 1334580051 -7200 # Node ID 5c26fc1adbacc8178c8ae00ba709bbbf9f2ed0ac # Parent b960713823a71c44fe6f9aa0faadeb355d4e434d minor fix in automatic directory creation Signed-off-by: Changaco diff --git a/feed-push b/feed-push --- a/feed-push +++ b/feed-push @@ -220,7 +220,7 @@ class Apply(argparse.Action): def MakeDirs(next_type=None): def f(s): d = dirname(s) - if not isdir(d): + if d and not isdir(d): try: os.makedirs(d) except OSError as e: