Skip to content

Commit

Permalink
Common data is separated into common.py
Browse files Browse the repository at this point in the history
  • Loading branch information
grigoryvp committed Feb 29, 2012
1 parent 6c373b8 commit b8c41a7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions common.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env python
# coding:utf-8 vi:et:ts=2

COMM_PORT = 17963
COMM_ADDR = 'http://localhost:{0}/'.format( COMM_PORT )

3 changes: 1 addition & 2 deletions parabridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
import socket
import logging
from settings import Settings
from common import *

COMM_PORT = 17963
COMM_ADDR = 'http://localhost:{0}/'.format( COMM_PORT )
HELP_APP = """Paradox to SQLite bridge. This tool monitors specified
Paradox database and reflects all changes to specified SQLite database
that can be used by any application that has problems with Paradox."""
Expand Down
1 change: 1 addition & 0 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import json
import xmlrpclib
import socket
from common import *

class Settings( object ) :

Expand Down

0 comments on commit b8c41a7

Please sign in to comment.