Changeset - b4d763546411
[Not reviewed]
default
0 2 0
Dennis Fink - 11 years ago 2014-01-24 00:24:24
dennis.fink@c3l.lu
pep8
2 files changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
Scripts/update_server.py
Show inline comments
 
@@ -6,13 +6,14 @@ import json
 
import requests
 

	
 
from ast import literal_eval
 

	
 
OBFS_REGEX = re.compile(r'^ServerTransportPlugin obfs2,obfs3')
 

	
 
IP_REGEX = re.compile(r'^(OutboundBindAddress)\ (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})')
 
IP_REGEX = re.compile(r'^(OutboundBindAddress)\ (\d{1,3}\.\d{1,3}\.\d{1,3}\.'
 
                      r'\d{1,3})')
 

	
 

	
 
def read_tor_config(configfile="/etc/tor/torrc"):
 

	
 
    with open(configfile) as fb:
 
        lines = {line[:-1] for line in fb if not line.startswith('#')}
setup.py
Show inline comments
 
from setuptools import setup, find_packages
 

	
 
setup(name='Ennstatus',
 
      version='4.0.1',
 
      description='Ennstatus provides the user with vital information about the status of the organizations Tor servers.',
 
      description=('Ennstatus provides the user with vital information about '
 
                   'the status of the organizations Tor servers.'),
 
      author='Frënn vun der Ënn',
 
      author_email='info@enn.lu',
 
      url='https://bitbucket.org/fvde/ennstatus',
 
      license="GPLv3+",
 
      packages=find_packages(),
 
      package_data={'ennstatus': ['static/css/*.css',
0 comments (0 inline, 0 general)