aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src/python/DerivedProperties.py
diff options
context:
space:
mode:
authornobody <nobody@localhost>2002-05-16 00:19:25 +0800
committernobody <nobody@localhost>2002-05-16 00:19:25 +0800
commit8f6f0d2eb8e4dc4d9eeeb6033eacff70538f8c65 (patch)
tree9a14849dd3a40bd1667b88d689e2aa7d58d08bce /libical/src/python/DerivedProperties.py
parent74f4231f4eb650f0243ff39ab5a085b1df4f7697 (diff)
downloadgsoc2013-evolution-XPROP_REWRITE.tar
gsoc2013-evolution-XPROP_REWRITE.tar.gz
gsoc2013-evolution-XPROP_REWRITE.tar.bz2
gsoc2013-evolution-XPROP_REWRITE.tar.lz
gsoc2013-evolution-XPROP_REWRITE.tar.xz
gsoc2013-evolution-XPROP_REWRITE.tar.zst
gsoc2013-evolution-XPROP_REWRITE.zip
This commit was manufactured by cvs2svn to create tagXPROP_REWRITE
'XPROP_REWRITE'. svn path=/tags/XPROP_REWRITE/; revision=16889
Diffstat (limited to 'libical/src/python/DerivedProperties.py')
-rw-r--r--libical/src/python/DerivedProperties.py59
1 files changed, 0 insertions, 59 deletions
diff --git a/libical/src/python/DerivedProperties.py b/libical/src/python/DerivedProperties.py
deleted file mode 100644
index b557a1f7d7..0000000000
--- a/libical/src/python/DerivedProperties.py
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/usr/bin/env python
-# -*- Mode: python -*-
-#======================================================================
-# FILE: DerivedProperties.py
-# CREATOR: eric
-#
-# DESCRIPTION:
-#
-#
-# $Id$
-# $Locker$
-#
-# (C) COPYRIGHT 2001, Eric Busboom <eric@softwarestudio.org>
-# (C) COPYRIGHT 2001, Patrick Lewis <plewis@inetarena.com>
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of either:
-#
-# The LGPL as published by the Free Software Foundation, version
-# 2.1, available at: http://www.fsf.org/copyleft/lesser.html
-#
-# Or:
-#
-# The Mozilla Public License Version 1.0. You may obtain a copy of
-# the License at http://www.mozilla.org/MPL/
-#======================================================================
-
-from Property import Time, Period, Duration
-
-def RDate(arg):
-
- class RDate_Time(Time):
- def __init__(self,arg): Time.__init__(self,arg,"RDATE")
-
- class RDate_Period(Period):
- def __init__(self,arg): Period.__init__(self,arg,"RDATE")
-
- p = None
- for c in [RDate_Time, RDate_Period]:
- try: return c(arg)
- except Property.ConstructorFailedError, d: pass
- raise Property.ConstructorFailedError("Failed to construct RDATE from "+str(arg))
-
-
-def Trigger(arg):
- class Trigger_Time(Time):
- def __init__(self,arg): Time.__init__(self,arg,"TRIGGER")
-
- class Trigger_Duration(Duration):
- def __init__(self,arg): Duration.__init__(self,arg,"TRIGGER")
-
- p = None
- for c in [Trigger_Duration, Trigger_Time]:
- try: return c(arg)
- except Property.ConstructorFailedError, d: pass
- raise Property.ConstructorFailedError("Failed to construct TRIGGER from "+str(arg))
-
-
-