Update of /cvsroot/freevo/freevo/src/www
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5103/src/www
Modified Files:
index.py rec.py wap_types.py web_types.py
Log Message:
remove TRUE, FALSE, DEBUG and HELPER
Index: web_types.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/www/web_types.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** web_types.py 10 Jul 2004 12:33:43 -0000 1.25
--- web_types.py 8 Jan 2005 15:40:55 -0000 1.26
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.26 2005/01/08 15:40:55 dischi
+ # remove TRUE, FALSE, DEBUG and HELPER
+ #
# Revision 1.25 2004/07/10 12:33:43 dischi
# header cleanup
***************
*** 52,59 ****
from twisted.web.resource import Resource
- DEBUG = config.DEBUG
- TRUE = 1
- FALSE = 0
-
class FreevoPage(page.Page):
--- 55,58 ----
***************
*** 92,98 ****
realpass = config.WWW_USERS.get(username)
if password == realpass:
! return TRUE
else:
! return FALSE
--- 91,97 ----
realpass = config.WWW_USERS.get(username)
if password == realpass:
! return True
else:
! return False
Index: wap_types.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/www/wap_types.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** wap_types.py 10 Jul 2004 12:33:43 -0000 1.4
--- wap_types.py 8 Jan 2005 15:40:55 -0000 1.5
***************
*** 10,13 ****
--- 10,16 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.5 2005/01/08 15:40:55 dischi
+ # remove TRUE, FALSE, DEBUG and HELPER
+ #
# Revision 1.4 2004/07/10 12:33:43 dischi
# header cleanup
***************
*** 44,51 ****
from twisted.web.resource import Resource
- DEBUG = config.DEBUG
- TRUE = 1
- FALSE = 0
-
class FreevoWapResource(Resource):
--- 47,50 ----
Index: index.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/www/index.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** index.py 19 Dec 2004 18:41:37 -0000 1.4
--- index.py 8 Jan 2005 15:40:55 -0000 1.5
***************
*** 41,45 ****
# for prog in progl:
# try:
! # if prog.isRecording == TRUE:
# fv.res += '<p class="alert">'+_('Now Recording
%s.')+'</p>\n' % prog.title
# break
--- 41,45 ----
# for prog in progl:
# try:
! # if prog.isRecording == True:
# fv.res += '<p class="alert">'+_('Now Recording
%s.')+'</p>\n' % prog.title
# break
Index: rec.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/www/rec.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** rec.py 28 Dec 2004 00:38:45 -0000 1.1
--- rec.py 8 Jan 2005 15:40:55 -0000 1.2
***************
*** 12,15 ****
--- 12,18 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.2 2005/01/08 15:40:55 dischi
+ # remove TRUE, FALSE, DEBUG and HELPER
+ #
# Revision 1.1 2004/12/28 00:38:45 rshortt
# Reactivating web guide and scheduling recordings, this is still a major work
***************
*** 218,222 ****
# status = 'favorite'
#try:
! # if prog.isRecording == TRUE:
# status = 'recording'
#except:
--- 221,225 ----
# status = 'favorite'
#try:
! # if prog.isRecording == True:
# status = 'recording'
#except:
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog