From 099adec61fb22ca2b79005612980035326718ebd Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Wed, 5 Oct 2011 16:08:29 +0200 Subject: [PATCH] start working on object class Signed-off-by: Steven Armstrong --- lib/cdist/object.py | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lib/cdist/object.py diff --git a/lib/cdist/object.py b/lib/cdist/object.py new file mode 100644 index 00000000..396d8e48 --- /dev/null +++ b/lib/cdist/object.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +# +# 2010-2011 Steven Armstrong (steven-cdist at armstrong.cc) +# +# This file is part of cdist. +# +# cdist 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 3 of the License, or +# (at your option) any later version. +# +# cdist 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 cdist. If not, see . +# +# + +import os +import logging +log = logging.getLogger(__name__) + + + +class Object(object): + def __init__(self, path, remote_path): + self.path = path + self.remote_path = remote_path + +