1.1 --- a/imipweb/resource.py Thu Jul 30 19:26:10 2015 +0200
1.2 +++ b/imipweb/resource.py Thu Jul 30 19:29:10 2015 +0200
1.3 @@ -21,11 +21,10 @@
1.4
1.5 from datetime import datetime
1.6 from imiptools.client import Client
1.7 -from imiptools.data import get_uri, get_window_end, Object, uri_values
1.8 -from imiptools.dates import format_datetime, format_time, \
1.9 - get_recurrence_start_point
1.10 +from imiptools.data import get_uri, uri_values
1.11 +from imiptools.dates import get_recurrence_start_point
1.12 from imiptools.period import FreeBusyPeriod, is_affected, is_replaced, \
1.13 - remove_period, remove_affected_period, update_freebusy
1.14 + remove_period, remove_affected_period
1.15 from imipweb.env import CGIEnvironment
1.16 import babel.dates
1.17 import imip_store
1.18 @@ -93,10 +92,10 @@
1.19
1.20 # Access to objects.
1.21
1.22 - def _suffixed_name(self, name, index=None):
1.23 + def element_identifier(self, name, index=None):
1.24 return index is not None and "%s-%d" % (name, index) or name
1.25
1.26 - def _simple_suffixed_name(self, name, suffix, index=None):
1.27 + def element_name(self, name, suffix, index=None):
1.28 return index is not None and "%s-%s" % (name, suffix) or name
1.29
1.30 def _get_identifiers(self, path_info):