10
0
mirror of https://gitlab.com/scemama/irpf90.git synced 2024-12-22 04:13:33 +01:00

Make single in subroutine needs

This commit is contained in:
Anthony Scemama 2014-05-13 11:15:24 +02:00
parent fa761ea25f
commit 2b2e048f01

View File

@ -90,6 +90,7 @@ class Sub(object):
def needs(self): def needs(self):
if '_needs' not in self.__dict__: if '_needs' not in self.__dict__:
import parsed_text import parsed_text
self._needs = make_single(self._needs)
return self._needs return self._needs
needs = property(needs) needs = property(needs)