[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819
Sebastian Krzyszkowiak
seba.dos1 at gmail.com
Sat Aug 6 08:17:48 UTC 2011
The following commit has been merged in the debian branch:
commit f3b0b98412dced374351b2b279c6b24b0be36a00
Author: Thomas Zimmermann <zimmermann at vdm-design.de>
Date: Mon Aug 10 22:50:18 2009 +0200
opimd: Dates: fixed indentiation error and removed unused method GetDatesOfDayByTimestamp
Signed-off-by: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
diff --git a/framework/subsystems/opimd/pimd_dates.py b/framework/subsystems/opimd/pimd_dates.py
index 02b30af..8b3e17a 100644
--- a/framework/subsystems/opimd/pimd_dates.py
+++ b/framework/subsystems/opimd/pimd_dates.py
@@ -319,18 +319,18 @@ class DateDomain(Domain, GenericDomain):
@param entry_data List of fields; format is [Key:Value, Key:Value, ...]
@return Path of the newly created d-bus entry object"""
- begin = False
- end = False
- # Required fields: begin, end
- for (key,value) in entry_data:
- if key == "Begin":
- begin = True
- if key == "End":
- end = True
-
- #TODO: raise correct error
- if !(begin and end):
- raise InvalidQueryID( "Begin or End field missing" )
+ begin = False
+ end = False
+ # Required fields: begin, end
+ for (key,value) in entry_data:
+ if key == "Begin":
+ begin = True
+ if key == "End":
+ end = True
+
+ #TODO: raise correct error
+ if !(begin and end):
+ raise InvalidQueryID( "Begin or End field missing" )
return self.add(entry_data)
@@ -344,17 +344,6 @@ class DateDomain(Domain, GenericDomain):
return self.query_manager.process_query(query, sender)
- @dbus_method(_DIN_DATES, "a{sv}", "i", sender_keyword="sender")
- def GetDatesOfDayByTimestamp(self, time, sender):
- """Processes a query and returns the dbus path of the resulting query object
-
- @param time Timestamp within the day to return the dates for
- @param sender Unique name of the query sender on the bus
- @return dbus path of the query object, e.g. /org.freesmartphone.PIM/Entries/Queries/4"""
-
- return self.query_manager.process_query(query, sender)
-
-
@dbus_method(_DIN_ENTRY, "", "a{sv}", rel_path_keyword="rel_path")
def GetContent(self, rel_path):
num_id = int(rel_path[1:])
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list