def remove_reqs_readonly():
 if (not os.path.isdir(REQS_DIR)):
  return
 os.chmod(REQS_DIR, 493)
 for (root, dirs, files) in os.walk(REQS_DIR):
  for d in dirs:
   os.chmod(os.path.join(root, d), 493)
  for f in files:
   os.chmod(os.path.join(root, f), 493)

def remove_reqs_readonly ( ) : if ( not os . path . isdir ( REQS_DIR ) ) : return os . chmod ( REQS_DIR , 493 ) for ( root , dirs , files ) in os . walk ( REQS_DIR ) : for d in dirs : os . chmod ( os . path . join ( root , d ) , 493 ) for f in files : os . chmod ( os . path . join ( root , f ) , 493 )
workaround for issue #569 .