summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKartic Krishnamurthy <drunkensufi@lindenlab.com>2008-08-21 22:09:21 +0000
committerKartic Krishnamurthy <drunkensufi@lindenlab.com>2008-08-21 22:09:21 +0000
commitcb7abfd595a0be6a36dd3ad8dbec0d9f053210a6 (patch)
tree284e3a8d261beb3992d262b40fa54e09181273c5
parent30638bb110b2adf64057f9dbf893ab2d48f10e3e (diff)
Master QAR-807 passed.
Sub-QARs 1. QAR-765 Rad chilies 04 to Release 2. QAR-799 Merge PHP Framework 4 changes to release 3. QAR-801 Merge Buildme for startlocationfix svn merge -r93906:94028 svn+ssh://svn/svn/linden/branches/combo-merge-qar-765-799 .
-rw-r--r--indra/lib/python/indra/util/fastest_elementtree.py4
-rw-r--r--indra/lib/python/indra/util/named_query.py6
-rw-r--r--indra/llinventory/llparcel.cpp12
3 files changed, 13 insertions, 9 deletions
diff --git a/indra/lib/python/indra/util/fastest_elementtree.py b/indra/lib/python/indra/util/fastest_elementtree.py
index 6661580463..228be49ed3 100644
--- a/indra/lib/python/indra/util/fastest_elementtree.py
+++ b/indra/lib/python/indra/util/fastest_elementtree.py
@@ -28,9 +28,7 @@ $/LicenseInfo$
# Using celementree might cause some unforeseen problems so here's a
# convenient off switch.
-
-# *NOTE: turned off cause of problems. :-( *TODO: debug
-use_celementree = False
+use_celementree = True
try:
if not use_celementree:
diff --git a/indra/lib/python/indra/util/named_query.py b/indra/lib/python/indra/util/named_query.py
index 483a9606c8..1457ff2a30 100644
--- a/indra/lib/python/indra/util/named_query.py
+++ b/indra/lib/python/indra/util/named_query.py
@@ -63,7 +63,7 @@ def _init_g_named_manager(sql_dir = None):
# extra fallback directory in case config doesn't return what we want
if sql_dir is None:
- sql_dir = os.path.dirname(__file__) + "../../../../web/dataservice/sql"
+ sql_dir = os.path.join(os.path.dirname(__file__), "..", "..", "..", "..", "web", "dataservice", "sql")
global _g_named_manager
_g_named_manager = NamedQueryManager(
@@ -106,8 +106,8 @@ class NamedQuery(object):
a path to a file containing an llsd named query document."""
self._stat_interval_seconds = 5 # 5 seconds
self._name = name
- if (filename is not None) \
- and (NQ_FILE_SUFFIX != filename[-NQ_FILE_SUFFIX_LEN:]):
+ if (filename is not None
+ and NQ_FILE_SUFFIX != filename[-NQ_FILE_SUFFIX_LEN:]):
filename = filename + NQ_FILE_SUFFIX
self._location = filename
self._alternative = dict()
diff --git a/indra/llinventory/llparcel.cpp b/indra/llinventory/llparcel.cpp
index 489798910d..3607318d7f 100644
--- a/indra/llinventory/llparcel.cpp
+++ b/indra/llinventory/llparcel.cpp
@@ -1761,7 +1761,11 @@ void LLParcel::startSale(const LLUUID& buyer_id, BOOL is_buyer_group)
setCleanOtherTime(0);
}
-void LLParcel::expireSale(U32& type, U8& flags, LLUUID& from_id, LLUUID& to_id)
+void LLParcel::expireSale(
+ U32& type,
+ U8& flags,
+ LLUUID& from_id,
+ LLUUID& to_id)
{
mSaleTimerExpires.setTimerExpirySec(0.0);
mSaleTimerExpires.stop();
@@ -1777,8 +1781,10 @@ void LLParcel::expireSale(U32& type, U8& flags, LLUUID& from_id, LLUUID& to_id)
to_id.setNull();
}
-void LLParcel::completeSale(U32& type, U8& flags,
- LLUUID& to_id)
+void LLParcel::completeSale(
+ U32& type,
+ U8& flags,
+ LLUUID& to_id)
{
mSaleTimerExpires.setTimerExpirySec(0.0);
mSaleTimerExpires.stop();