Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: cdent/tsapp
base: 6586456b5f
head fork: cdent/tsapp
compare: fbc509b378
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Commits on Jul 30, 2012
@cdent Set the umask when writing the .tsapp
We don't want it be read by just anybody.
@cdent release 0.1.2
Showing with 3 additions and 1 deletion.
  1. +3 −1 tsapp/
4 tsapp/
@@ -10,7 +10,7 @@
import sys
-__version__ = '0.1.1'
+__version__ = '0.1.2'
def error_exit(code, message=""):
@@ -36,6 +36,7 @@ def write_config(new_data):
existing_data = {}
+ def_umask = os.umask(0077)
config_file = open('./.tsapp', 'w')
for key, value in existing_data.iteritems():
@@ -44,6 +45,7 @@ def write_config(new_data):
config_file.write('%s:%s\n' % (key, value))
+ os.umask(def_umask)
def read_config():

No commit comments for this range

Something went wrong with that request. Please try again.