diff options
author | Victor Häggqvist <[email protected]> | 2014-05-08 02:41:38 +0200 |
---|---|---|
committer | Victor Häggqvist <[email protected]> | 2014-05-08 02:41:38 +0200 |
commit | 56dded948eb2100fb9d6bafde9689916af057e32 (patch) | |
tree | dad9d12cffa14da0fb85ab242c81d073ab86e9de | |
parent | 196529fbfa3cf16f04c5b3d31acf422d1f7a4d97 (diff) |
fixes
Diffstat (limited to '')
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | giti.py | 6 |
3 files changed, 5 insertions, 4 deletions
@@ -52,3 +52,4 @@ coverage.xml # Sphinx documentation docs/_build/ +test/ @@ -1,4 +1,4 @@ giti ==== -A python command line tool for getting .gitignore files +A python command line tool for getting .gitignore files.
\ No newline at end of file @@ -1,3 +1,4 @@ +#!/usr/bin/python # coding=utf-8 import os import sys @@ -23,7 +24,6 @@ def store(file): """ Store content in file """ - print "storing" if os.path.isfile(".gitignore") == True: try: merge = input("Do you want to merge with existing .gitignore [Y/n]:") @@ -40,7 +40,7 @@ def store(file): f.write(gitignore) print ".gitignore baked :)" else: - print "Did nothing your .gitignore lives like before" + print "Did nothing, your .gitignore lives like before" @@ -63,6 +63,6 @@ def main(): if len(sys.argv) == 2: giti(sys.argv[1]) else: - print "Usage giti [language or stuff]" + print "Usage: giti [language or stuff]" main() |