Browse files

[51] Other/Checksum: bcee6453557fa56a571e1543a648c653

Signed-off-by: Chiruclan <administrator@chiruclan.de>
  • Loading branch information...
1 parent 0b8aea8 commit 1a0462c66684e039e478bfc8122d7a8bfa63c935 @pascalvahlberg committed May 19, 2012
Showing with 11 additions and 5 deletions.
  1. +9 −3 gitp.py
  2. +1 −1 list
  3. +1 −1 version
View
12 gitp.py
@@ -40,7 +40,9 @@ def green(string):
filename = lists.rstrip()[:-33]
list_checksum = lists.rstrip().split()[-32:]
if not access(filename, R_OK):
- Popen("git rm --cached " + filename.replace(" ", "\ "), shell=True, stdout=PIPE).stdout.read().rstrip()
+ raw_data = Popen("git rm --quiet --cached " + filename.replace(" ", "\ "), shell=True, stdout=PIPE).stdout.read().rstrip()
+ for data in raw_data.splitlines():
+ print(red("*") + " " + data)
print(blue("*") + " Clearing list")
file_writer = open("list", "w")
@@ -93,7 +95,9 @@ def green(string):
f.write(version)
f.close()
- Popen("git add .", shell=True).wait()
+ raw_data = Popen("git add .", shell=True, stdout=PIPE).stdout.read().rstrip()
+ for data in raw_data.splitlines():
+ print(red("*") + " " + data)
if len(argv) > 1:
commit = ' '.join(argv[1:])
@@ -105,7 +109,9 @@ def green(string):
commit = "Other/Checksum: " + file_checksum
print(blue("*") + " Committing '" + commit + "'")
- Popen("git commit -m '[" + revision + "] " + commit + "' -s", shell=True, stdout=PIPE).stdout.read().rstrip()
+ raw_data = Popen("git commit -m '[" + revision + "] " + commit + "' -s", shell=True, stdout=PIPE).stdout.read().rstrip()
+ for data in raw_data.splitlines():
+ print(red("*") + " " + data)
print(green("*") + " Pushing to repository")
raw_data = Popen("git push --quiet origin master", shell=True, stdout=PIPE).stdout.read().rstrip()
for data in raw_data.splitlines():
View
2 list
@@ -1 +1 @@
-gitp.py c772322ebc25b383a6d6f3e36bb4f0be
+gitp.py 7f9198a8162ef43fe0bed21d67179720
View
2 version
@@ -1 +1 @@
-0.050
+0.051

0 comments on commit 1a0462c

Please sign in to comment.