summaryrefslogtreecommitdiff
path: root/grc/python/Param.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2015-08-20 14:01:04 +0200
committerSebastian Koslowski <koslowski@kit.edu>2015-11-06 16:12:28 +0100
commit8b14a84ef8b8a73db002153cb398f79f1343ebc2 (patch)
tree039582daad614ac2fa9c5977563a79b2b643f484 /grc/python/Param.py
parent91b66420516948019a6f0b8fe34630d2e119da96 (diff)
grc: mark param type multiline as protected
Diffstat (limited to 'grc/python/Param.py')
-rw-r--r--grc/python/Param.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/python/Param.py b/grc/python/Param.py
index 27e5b76320..50723ed2cc 100644
--- a/grc/python/Param.py
+++ b/grc/python/Param.py
@@ -62,7 +62,7 @@ class Param(_Param, _GUIParam):
'complex', 'real', 'float', 'int',
'complex_vector', 'real_vector', 'float_vector', 'int_vector',
'hex', 'string', 'bool',
- 'file_open', 'file_save', 'multiline',
+ 'file_open', 'file_save', '_multiline',
'id', 'stream_id',
'grid_pos', 'notebook', 'gui_hint',
'import',
@@ -266,7 +266,7 @@ class Param(_Param, _GUIParam):
#########################
# String Types
#########################
- elif t in ('string', 'file_open', 'file_save', 'multiline'):
+ elif t in ('string', 'file_open', 'file_save', '_multiline'):
#do not check if file/directory exists, that is a runtime issue
try:
e = self.get_parent().get_parent().evaluate(v)
@@ -405,7 +405,7 @@ class Param(_Param, _GUIParam):
"""
v = self.get_value()
t = self.get_type()
- if t in ('string', 'file_open', 'file_save', 'multiline'): #string types
+ if t in ('string', 'file_open', 'file_save', '_multiline'): # string types
if not self._init: self.evaluate()
if self._stringify_flag: return '"%s"'%v.replace('"', '\"')
else: return v