Skip to content
This repository was archived by the owner on Dec 30, 2020. It is now read-only.

Commit 7a73cc8

Browse files
author
securisec
committed
added check to see if upto date
1 parent 1f915a4 commit 7a73cc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

r2wiki.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ def check_if_up_to_date():
1919
status = Popen('git -C . remote show origin',
2020
stdout=PIPE, shell=True).stdout.readlines()[-1]
2121
if 'out of date' in status:
22-
print 'r2wiki out of date. Update with git pull'
22+
print '[-] r2wiki out of date. Update with git -C %s pull origin master' % src_dir
2323
elif 'fatal: unable to access' in status:
24-
print 'Could not check for r2wiki update'
24+
print '[-] Could not check for r2wiki update'
2525

2626

2727
def arg_parse():

0 commit comments

Comments
 (0)