* More single sourcing of version
* More lint
git-svn-id: file:///svnroot/gc-dialer/trunk@333
c39d3808-3fe2-4d86-a59f-
b7f623ee9f21
build: $(OBJ)
rm -Rf $(BUILD_PATH)
mkdir $(BUILD_PATH)
build: $(OBJ)
rm -Rf $(BUILD_PATH)
mkdir $(BUILD_PATH)
+ cp $(SOURCE_PATH)/constants.py $(BUILD_PATH)
cp $(SOURCE_PATH)/$(PROJECT_NAME).py $(BUILD_PATH)
$(foreach file, $(DATA), cp $(file) $(BUILD_PATH)/$(subst /,-,$(file)) ; )
$(foreach file, $(SOURCE), cp $(file) $(BUILD_PATH)/$(subst /,-,$(file)) ; )
cp $(SOURCE_PATH)/$(PROJECT_NAME).py $(BUILD_PATH)
$(foreach file, $(DATA), cp $(file) $(BUILD_PATH)/$(subst /,-,$(file)) ; )
$(foreach file, $(SOURCE), cp $(file) $(BUILD_PATH)/$(subst /,-,$(file)) ; )
self._accessToken = atGroup.group(1)
anGroup = self._accountNumRe.search(data)
self._accessToken = atGroup.group(1)
anGroup = self._accountNumRe.search(data)
- if anGroup is None:
- raise RuntimeError("Could not extract account number from GrandCentral")
- self._accountNum = anGroup.group(1)
+ if anGroup is not None:
+ self._accountNum = anGroup.group(1)
+ else:
+ warnings.warn("Could not extract account number from GrandCentral", UserWarning, 2)
self._callbackNumbers = {}
for match in self._callbackRe.finditer(data):
self._callbackNumbers = {}
for match in self._callbackRe.finditer(data):
self._token = tokenGroup.group(1)
anGroup = self._accountNumRe.search(page)
self._token = tokenGroup.group(1)
anGroup = self._accountNumRe.search(page)
- if anGroup is None:
- raise RuntimeError("Could not extract account number from GoogleVoice")
- self._accountNum = anGroup.group(1)
+ if anGroup is not None:
+ self._accountNum = anGroup.group(1)
+ else:
+ warnings.warn("Could not extract account number from GoogleVoice", UserWarning, 2)
self._callbackNumbers = {}
for match in self._callbackRe.finditer(page):
self._callbackNumbers = {}
for match in self._callbackRe.finditer(page):
#!/usr/bin/python2.5
from py2deb import *
#!/usr/bin/python2.5
from py2deb import *
-__appname__ = "dialcentral"
+__appname__ = constants.__app_name__
__description__ = "Simple interface to Google's GrandCentral(tm) service"
__author__ = "Ed Page"
__email__ = "eopage@byu.net"
__description__ = "Simple interface to Google's GrandCentral(tm) service"
__author__ = "Ed Page"
__email__ = "eopage@byu.net"
+__version__ = constants.__version__
__build__ = 0
__changelog__ = '''
0.9.8
__build__ = 0
__changelog__ = '''
0.9.8
p.section = "user/communication"
p.arch = "all"
p.urgency = "low"
p.section = "user/communication"
p.arch = "all"
p.urgency = "low"
- p.distribution = "chinook diablo"
- p.repository = "extras-devel"
+ p.distribution = "chinook diablo fremantle"
+ p.repository = "extras"
p.changelog = __changelog__
p.postinstall = __postinstall__
p.icon="26x26-dialcentral.png"
p.changelog = __changelog__
p.postinstall = __postinstall__
p.icon="26x26-dialcentral.png"
#enable-msg=
# Disable the message(s) with the given id(s).
#enable-msg=
# Disable the message(s) with the given id(s).
-disable-msg=W0403,W0612,W0613,C0103,C0111,C0301,R0903,W0142,W0603,R0904
+disable-msg=W0403,W0612,W0613,C0103,C0111,C0301,R0903,W0142,W0603,R0904,R0921,R0201