switched to use python's built in os.separator vs using /

This commit is contained in:
Brian Coca 2015-04-03 09:06:58 -04:00 committed by Matt Clay
parent 7f618bd787
commit a014bde3f0

View file

@ -240,7 +240,7 @@ def main():
changed = False
# Special handling for recursive copy - create intermediate dirs
if original_basename and dest.endswith("/"):
if original_basename and dest.endswith(os.sep):
dest = os.path.join(dest, original_basename)
dirname = os.path.dirname(dest)
if not os.path.exists(dirname) and os.path.isabs(dirname):