summaryrefslogtreecommitdiffstats
path: root/pyfirstaidkit/plugins.py
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2010-08-23 17:14:12 +0200
committerMartin Sivak <msivak@redhat.com>2010-08-23 17:14:12 +0200
commitf273fe2502adf3023d816c9f495fad12140c9ddb (patch)
tree838d62667b77164a9dfb6950b3c02fabb9c102b0 /pyfirstaidkit/plugins.py
parenteb7edf408825a0979318bff3929ea94111d560f4 (diff)
downloadfirstaidkit-f273fe2502adf3023d816c9f495fad12140c9ddb.tar.gz
firstaidkit-f273fe2502adf3023d816c9f495fad12140c9ddb.tar.xz
firstaidkit-f273fe2502adf3023d816c9f495fad12140c9ddb.zip
Fix flow initialization, use deepcopy to create copied flow structures
Diffstat (limited to 'pyfirstaidkit/plugins.py')
-rw-r--r--pyfirstaidkit/plugins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyfirstaidkit/plugins.py b/pyfirstaidkit/plugins.py
index bf55df7..303cfc9 100644
--- a/pyfirstaidkit/plugins.py
+++ b/pyfirstaidkit/plugins.py
@@ -41,7 +41,7 @@ class Flow(dict):
@staticmethod
def init(parent):
- flows = copy(parent.flows)
+ flows = deepcopy(parent.flows)
return flows
class Plugin(object):
@@ -568,7 +568,7 @@ class PluginSystem(object):
#get best title
gt = trans.lgettext(flowname) if trans else flowname
title = gt if gt != flowname else flow.title
-
+
self._flow_titles[flowname] = title
#set title for flow with no title