aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2014-05-08 02:41:38 +0200
committerVictor Häggqvist <[email protected]>2014-05-08 02:41:38 +0200
commit56dded948eb2100fb9d6bafde9689916af057e32 (patch)
treedad9d12cffa14da0fb85ab242c81d073ab86e9de
parent196529fbfa3cf16f04c5b3d31acf422d1f7a4d97 (diff)
fixes
-rw-r--r--.gitignore1
-rw-r--r--README.md2
-rwxr-xr-x[-rw-r--r--]giti.py6
3 files changed, 5 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 51cbe85..4e47a3b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,3 +52,4 @@ coverage.xml
# Sphinx documentation
docs/_build/
+test/
diff --git a/README.md b/README.md
index 9429bba..bf1ae05 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/giti.py b/giti.py
index b1c1422..c01c652 100644..100755
--- a/giti.py
+++ b/giti.py
@@ -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()