# HG changeset patch # User Changaco # Date 1334530048 -7200 # Node ID 09afbcd3efcb09802153b42931eec542d03ae9df # Parent 455cd8c7886219d562a9143647d53deb021f6fba fix previous commit Signed-off-by: Changaco diff --git a/feed-push b/feed-push --- a/feed-push +++ b/feed-push @@ -20,7 +20,7 @@ from functools import partial, reduce from glob import glob import json import os -from os.path import abspath +from os.path import abspath, dirname, isdir import shlex from subprocess import Popen, PIPE, STDOUT import sys @@ -218,8 +218,8 @@ class Apply(argparse.Action): def MakeDirs(next_type=None): def f(s): - d = os.dirname(s) - if not os.isdir(d): + d = dirname(s) + if not isdir(d): try: os.makedirs(d) except OSError as e: