commit:     6e34c9aee6561d4ba1eeab51cbeceed4a37d701f
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  9 20:09:39 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Aug  9 20:09:39 2015 +0000
URL:        https://gitweb.gentoo.org/proj/grss.git/commit/?id=6e34c9ae

bin/grsup: fix typo.

 bin/grsup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/grsup b/bin/grsup
index 5f03131..74670cd 100755
--- a/bin/grsup
+++ b/bin/grsup
@@ -233,7 +233,7 @@ def main():
         if os.path.isfile(oldmakeconf):
             if not filecmp.cmp(newmakeconf, oldmakeconf):
                 print('New make.conf differs from local version. Backing up as 
make.conf.old')
-                shutil(oldmakeconf, '%s.old' % oldmakeconf)
+                shutil.copy(oldmakeconf, '%s.old' % oldmakeconf)
         shutil.copy(newmakeconf, oldmakeconf)
 
     # 1. Install all world.conf files.

Reply via email to