r219 - branches/rewrite/src
Otavio Salvador
partial-mirror-devel@lists.alioth.debian.org
Mon, 02 Aug 2004 08:41:50 -0600
Author: otavio
Date: Mon Aug 2 08:41:49 2004
New Revision: 219
Added:
branches/rewrite/src/Backend.py
Log:
Initial draft too.
Added: branches/rewrite/src/Backend.py
==============================================================================
--- (empty file)
+++ branches/rewrite/src/Backend.py Mon Aug 2 08:41:49 2004
@@ -0,0 +1,25 @@
+# debpartial-mirror - partial debian mirror package tool
+# (c) 2004 Otavio Salvador <otavio@debian.org>
+#
+# 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
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# $Id$
+
+class Backend:
+ """ Currently allocated backends """
+ backends = []
+
+ def __init__(self):
+ # Store myself on list
+ self.backends.append(self)