1.1 --- a/imiptools/stores/file.py Sat Oct 07 22:38:01 2017 +0200
1.2 +++ b/imiptools/stores/file.py Thu Oct 12 23:14:06 2017 +0200
1.3 @@ -568,6 +568,19 @@
1.4
1.5 return [name for name in listdir(filename) if isfile(join(filename, name))]
1.6
1.7 + def get_counter_recurrences(self, user, uid):
1.8 +
1.9 + """
1.10 + For the given 'user', return a list of recurrence identifiers describing
1.11 + counter-proposals for the parent event with the given 'uid'.
1.12 + """
1.13 +
1.14 + filename = self.get_object_in_store(user, "counters", "recurrences", uid)
1.15 + if not filename or not isdir(filename):
1.16 + return []
1.17 +
1.18 + return listdir(filename)
1.19 +
1.20 def get_counter(self, user, other, uid, recurrenceid=None):
1.21
1.22 """