changeset 777:8d633ca59bc5

admin: Fixes for the Git support.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 04 Jul 2016 00:22:30 -0700
parents 3799621cd25b
children 5e91bc0e3b4d
files foodtruck/scm/git.py
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/foodtruck/scm/git.py	Mon Jul 04 00:16:26 2016 -0700
+++ b/foodtruck/scm/git.py	Mon Jul 04 00:22:30 2016 -0700
@@ -16,9 +16,7 @@
     def getStatus(self):
         res = RepoStatus()
         st_out = self._run('status', '-s')
-        print(st_out)
         for line in st_out.split('\n'):
-            print(line)
             if not line:
                 continue
             if line.startswith('?? '):
@@ -31,8 +29,7 @@
                 else:
                     res.new_files.append(path)
             elif line.startswith(' M '):
-                res.edited_files.append(path[3:])
-        print(res.__dict__)
+                res.edited_files.append(line[3:])
         return res
 
     def _doCommit(self, paths, message, author):