X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=hooke%2Fexperiment.py;h=646b41566bfd6f745fe8f025aa8457762355fb62;hb=be1cce68dfffc3f65de215c1e6fe010b84eab14b;hp=9f944888caf62a7f2cc52d40c68819891261741f;hpb=7762de28cee60f98882d72db0c2ae2c6009ac465;p=hooke.git diff --git a/hooke/experiment.py b/hooke/experiment.py index 9f94488..646b415 100644 --- a/hooke/experiment.py +++ b/hooke/experiment.py @@ -2,15 +2,15 @@ # # This file is part of Hooke. # -# Hooke is free software: you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation, either -# version 3 of the License, or (at your option) any later version. +# Hooke is free software: you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. # -# Hooke 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 Lesser General Public License for more details. +# Hooke 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 Lesser General +# Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with Hooke. If not, see @@ -22,7 +22,10 @@ This allows :class:`hooke.plugin.Plugin`\s to specify the types of experiments they can handle. """ -class Experiment (object): +from .util.singleton import Singleton + + +class Experiment (Singleton): """Base class for experiment classification. """ pass