diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2016-05-05 16:17:23 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2016-05-05 16:17:23 +0200 |
commit | 6a7aead467071f78770e1fa597eadd58881ae2bc (patch) | |
tree | 6300d8e9fafc0ce3c5777270cda53e9df6885fbc /mageiaSync | |
parent | 430bd172a1f6e005ce919fc226673d9a5b73ec9c (diff) | |
download | MageiaSync-6a7aead467071f78770e1fa597eadd58881ae2bc.tar MageiaSync-6a7aead467071f78770e1fa597eadd58881ae2bc.tar.gz MageiaSync-6a7aead467071f78770e1fa597eadd58881ae2bc.tar.bz2 MageiaSync-6a7aead467071f78770e1fa597eadd58881ae2bc.tar.xz MageiaSync-6a7aead467071f78770e1fa597eadd58881ae2bc.zip |
suppress unuseful printed file name
Diffstat (limited to 'mageiaSync')
-rw-r--r-- | mageiaSync/mageiaSyncExt.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mageiaSync/mageiaSyncExt.py b/mageiaSync/mageiaSyncExt.py index 451f73e..0d30b43 100644 --- a/mageiaSync/mageiaSyncExt.py +++ b/mageiaSync/mageiaSyncExt.py @@ -207,7 +207,6 @@ def rename(directory,oldRelease,newRelease, nbf, nbr): for entry in os.listdir(directory): name = entry entry=os.path.join(directory,entry) - print(entry, os.path.isfile(entry), os.path.isdir(entry), name.startswith(oldRelease)) if os.path.isfile(entry): if name.startswith(oldRelease): newPath = os.path.join( os.path.dirname(entry) , name.replace(oldRelease, newRelease,1)) |