[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r6994 - trunk/gnue-common/src/datasources
From: |
johannes |
Subject: |
[gnue] r6994 - trunk/gnue-common/src/datasources |
Date: |
Fri, 11 Feb 2005 04:01:40 -0600 (CST) |
Author: johannes
Date: 2005-02-11 04:01:39 -0600 (Fri, 11 Feb 2005)
New Revision: 6994
Modified:
trunk/gnue-common/src/datasources/GDataSource.py
Log:
use gDebug () for depreciation-warning instead of writing to stdout
Modified: trunk/gnue-common/src/datasources/GDataSource.py
===================================================================
--- trunk/gnue-common/src/datasources/GDataSource.py 2005-02-11 09:59:15 UTC
(rev 6993)
+++ trunk/gnue-common/src/datasources/GDataSource.py 2005-02-11 10:01:39 UTC
(rev 6994)
@@ -478,8 +478,8 @@
# sequence, where all items are treated to be in 'ascending' order
if isinstance (order_by, types.StringType) or \
isinstance (order_by, types.UnicodeType):
- print o(u_("DEPRECIATION WARNING: use of 'order_by' attribute is " \
- "depreciated. Please use <sortorder> instead."))
+ gDebug (1, "DEPRECIATION WARNING: use of 'order_by' attribute is " \
+ "depreciated. Please use <sortorder> instead.")
for field in string.split (order_by, ','):
(item, desc) = (field, field [-5:].lower () == ' desc')
if desc:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r6994 - trunk/gnue-common/src/datasources,
johannes <=