1. Brent Tubbs
  2. silk-deployment

Commits

Brent Tubbs  committed 30e19d3

incrementing version. removing get_role from lib

  • Participants
  • Parent commits 792a4d7
  • Branches default

Comments (0)

Files changed (2)

File setup.py

View file
 
 setup(
     name='silk-deployment',
-    version='0.2.8',
+    version='0.2.9',
     author='Brent Tubbs',
     author_email='brent.tubbs@gmail.com',
 	packages=find_packages(),

File silk/lib.py

View file
 import copy
 import os
-import sys
 import pkg_resources
 
 from silk_config import *
     txt = open(template_path, 'r').read()
     return txt % context
 
-def get_role():
-    try:
-        #if '-R rolename' found in sys.argv, use that
-        return sys.argv[sys.argv.index('-R')+1]
-    except:
-        #role not found in sys.argv, try env var
-        #return None if no role there either
-        return os.environ.get('SILK_ROLE', None)
-
 def get_pip_cmd(site_config):
     pypi = site_config.get('pypi', 'http://pypi.python.org/simple/')
     return 'pip install -i %s' % pypi