summaryrefslogtreecommitdiff
path: root/lib/pb/pb.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pb/pb.py')
-rw-r--r--lib/pb/pb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pb/pb.py b/lib/pb/pb.py
index 109bfb0..239d9fc 100644
--- a/lib/pb/pb.py
+++ b/lib/pb/pb.py
@@ -29,7 +29,7 @@ class Pb(object):
self._files_created = []
self.commands = []
self._working_dir = WORKING_DIR
- self._tag = self.__class__.__name__
+ self.tag = self.__class__.__name__
self._hashdir = None
self._db_url_param = None
@@ -175,7 +175,7 @@ class Pb(object):
'newfile' : self.filename,
'dataobj' : json.dumps(dict(self._input_kwargs)),
'cmd' : "; ".join(self.commands),
- 'tag' : self._tag,
+ 'tag' : self.tag,
}
db.insert_cmd(**_insert_data)
except Exception as e: