Commits

Carl Meyer committed 1a1d969

remove redundant logfile directory creation

Comments (0)

Files changed (1)

pip/basecommand.py

         os.makedirs(dirname)
     exists = os.path.exists(filename)
     
-    dir = os.path.dirname(filename)
-    if dir and not os.path.exists(dir):
-        os.makedirs(dir)
-        
     log_fp = open(filename, mode)
     if exists:
         print >> log_fp, '-'*60