diff options
Diffstat (limited to 'persistence')
-rw-r--r-- | persistence/joke.py | 7 | ||||
-rw-r--r-- | persistence/jokebook.py | 7 | ||||
-rw-r--r-- | persistence/jokemachinestate.py | 7 |
3 files changed, 18 insertions, 3 deletions
diff --git a/persistence/joke.py b/persistence/joke.py index 0af66b8..7f96606 100644 --- a/persistence/joke.py +++ b/persistence/joke.py @@ -1,3 +1,5 @@ +# Copyright 2007 World Wide Workshop Foundation +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or @@ -12,6 +14,9 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # +# If you find this activity useful or end up using parts of it in one of your +# own creations we would love to hear from you at info@WorldWideWorkshop.org ! +# from util.persistence import Persistent, PersistentProperty @@ -82,4 +87,4 @@ Alex who?''' return self -
\ No newline at end of file + diff --git a/persistence/jokebook.py b/persistence/jokebook.py index 48c7297..438ea0e 100644 --- a/persistence/jokebook.py +++ b/persistence/jokebook.py @@ -1,3 +1,5 @@ +# Copyright 2007 World Wide Workshop Foundation +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or @@ -12,6 +14,9 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # +# If you find this activity useful or end up using parts of it in one of your +# own creations we would love to hear from you at info@WorldWideWorkshop.org ! +# from util.persistence import Persistent, PersistentProperty @@ -88,4 +93,4 @@ class Jokebook(object): return 1 return max([joke.id for joke in self.jokes]) + 1 -
\ No newline at end of file + diff --git a/persistence/jokemachinestate.py b/persistence/jokemachinestate.py index ae5d303..23e4cb1 100644 --- a/persistence/jokemachinestate.py +++ b/persistence/jokemachinestate.py @@ -1,3 +1,5 @@ +# Copyright 2007 World Wide Workshop Foundation +# # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or @@ -12,6 +14,9 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # +# If you find this activity useful or end up using parts of it in one of your +# own creations we would love to hear from you at info@WorldWideWorkshop.org ! +# from util.persistence import Persistent, PersistentProperty @@ -77,4 +82,4 @@ class JokeMachineState(object): jokebook.submissions.append(joke) self.jokebooks.append(jokebook) return self -
\ No newline at end of file + |