diff options
352 files changed, 3419 insertions, 3427 deletions
diff --git a/doc/auto_rst4api.py b/doc/auto_rst4api.py index 9cd967b6..027da25a 100644 --- a/doc/auto_rst4api.py +++ b/doc/auto_rst4api.py @@ -1,28 +1,28 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """ Creates a tree of dirs and restructured text stub files for documenting the API of a python module with sphinx diff --git a/doc/source/conf.py b/doc/source/conf.py index 382580da..2e754ef2 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -1,28 +1,28 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -############################################################################## -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# +# ########################################################################### import sys import os diff --git a/doc/source/devel/examples/parentmodel_issue_demo.py b/doc/source/devel/examples/parentmodel_issue_demo.py index 1c4798b8..f464fd7a 100644 --- a/doc/source/devel/examples/parentmodel_issue_demo.py +++ b/doc/source/devel/examples/parentmodel_issue_demo.py @@ -48,7 +48,7 @@ p.layout().addWidget(m) # the problem arises because the Taurus ancestry of c is only checked when: # a) c.setUseParentModel() is called (and it effectively changes something) or # b) when c is Qt-reparented -## +# # In this example, c is reparented before m, so when it checks for a Taurus # ancestor, none is found. Then m is reparented and c now would find its right # Taurus ancestor (p)... but c never gets notified! diff --git a/doc/source/sphinxext/taurusextension.py b/doc/source/sphinxext/taurusextension.py index c5025a36..af0e586a 100644 --- a/doc/source/sphinxext/taurusextension.py +++ b/doc/source/sphinxext/taurusextension.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################## -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# +# ########################################################################### """helper methods for taurus sphinx documentation """ diff --git a/lib/taurus/__init__.py b/lib/taurus/__init__.py index 85d738f9..9c92ffc8 100644 --- a/lib/taurus/__init__.py +++ b/lib/taurus/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """The main taurus module. It contains a reduced set of wrappers around the real taurus model classes and information regarding the current release. diff --git a/lib/taurus/cli/__init__.py b/lib/taurus/cli/__init__.py index 2c711d37..0af7ed78 100644 --- a/lib/taurus/cli/__init__.py +++ b/lib/taurus/cli/__init__.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module provides the taurus Command Line Interface diff --git a/lib/taurus/cli/alt.py b/lib/taurus/cli/alt.py index 24ecfbee..5392edb5 100644 --- a/lib/taurus/cli/alt.py +++ b/lib/taurus/cli/alt.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module provides several taurus CLI subcommands (plot, trend, image,...) diff --git a/lib/taurus/cli/cli.py b/lib/taurus/cli/cli.py index e746750e..41ec9dee 100644 --- a/lib/taurus/cli/cli.py +++ b/lib/taurus/cli/cli.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### import pkg_resources import click diff --git a/lib/taurus/cli/common.py b/lib/taurus/cli/common.py index 270c4a0e..1d38d6cf 100644 --- a/lib/taurus/cli/common.py +++ b/lib/taurus/cli/common.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module provides the taurus Command Line Interface common options. diff --git a/lib/taurus/cli/test/__init__.py b/lib/taurus/cli/test/__init__.py index a22ac116..ad8e2afe 100644 --- a/lib/taurus/cli/test/__init__.py +++ b/lib/taurus/cli/test/__init__.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Tests for taurus.cli """ diff --git a/lib/taurus/cli/test/test_alt.py b/lib/taurus/cli/test/test_alt.py index d1e8a9c1..dccbbdc6 100644 --- a/lib/taurus/cli/test/test_alt.py +++ b/lib/taurus/cli/test/test_alt.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### import pytest from taurus.core.util.test.test_plugin import mock_entry_point diff --git a/lib/taurus/console/__init__.py b/lib/taurus/console/__init__.py index 99763833..6d799549 100644 --- a/lib/taurus/console/__init__.py +++ b/lib/taurus/console/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ """ diff --git a/lib/taurus/console/enums.py b/lib/taurus/console/enums.py index 02378f53..9fef48a1 100644 --- a/lib/taurus/console/enums.py +++ b/lib/taurus/console/enums.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ """ diff --git a/lib/taurus/console/list.py b/lib/taurus/console/list.py index f36937fa..cd0c65f3 100644 --- a/lib/taurus/console/list.py +++ b/lib/taurus/console/list.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ """ diff --git a/lib/taurus/console/table.py b/lib/taurus/console/table.py index 4241c7e8..907acb95 100644 --- a/lib/taurus/console/table.py +++ b/lib/taurus/console/table.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ """ diff --git a/lib/taurus/console/util/__init__.py b/lib/taurus/console/util/__init__.py index f0235e61..815b4e61 100644 --- a/lib/taurus/console/util/__init__.py +++ b/lib/taurus/console/util/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ """ diff --git a/lib/taurus/core/__init__.py b/lib/taurus/core/__init__.py index d74e92f6..289f342c 100644 --- a/lib/taurus/core/__init__.py +++ b/lib/taurus/core/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """The core module """ diff --git a/lib/taurus/core/epics/__init__.py b/lib/taurus/core/epics/__init__.py index e1428647..963f7d98 100644 --- a/lib/taurus/core/epics/__init__.py +++ b/lib/taurus/core/epics/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ .. currentmodule:: taurus.core.epics diff --git a/lib/taurus/core/epics/epicsattribute.py b/lib/taurus/core/epics/epicsattribute.py index f4a37077..78f108c1 100644 --- a/lib/taurus/core/epics/epicsattribute.py +++ b/lib/taurus/core/epics/epicsattribute.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Epics module. See __init__.py for more detailed documentation diff --git a/lib/taurus/core/epics/epicsauthority.py b/lib/taurus/core/epics/epicsauthority.py index c94d10c1..b5e08ded 100644 --- a/lib/taurus/core/epics/epicsauthority.py +++ b/lib/taurus/core/epics/epicsauthority.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ epics authority. See __init__.py for more detailed documentation diff --git a/lib/taurus/core/epics/epicsdevice.py b/lib/taurus/core/epics/epicsdevice.py index 5b8120d1..b2727862 100644 --- a/lib/taurus/core/epics/epicsdevice.py +++ b/lib/taurus/core/epics/epicsdevice.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ epics device. See __init__.py for more detailed documentation diff --git a/lib/taurus/core/epics/epicsfactory.py b/lib/taurus/core/epics/epicsfactory.py index 160a68ba..eb9b5b7a 100644 --- a/lib/taurus/core/epics/epicsfactory.py +++ b/lib/taurus/core/epics/epicsfactory.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Epics module. See __init__.py for more detailed documentation diff --git a/lib/taurus/core/epics/epicsvalidator.py b/lib/taurus/core/epics/epicsvalidator.py index 20838c44..3f9fab6f 100644 --- a/lib/taurus/core/epics/epicsvalidator.py +++ b/lib/taurus/core/epics/epicsvalidator.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Epics module. See __init__.py for more detailed documentation diff --git a/lib/taurus/core/epics/test/__init__.py b/lib/taurus/core/epics/test/__init__.py index b5a56726..d111f89f 100644 --- a/lib/taurus/core/epics/test/__init__.py +++ b/lib/taurus/core/epics/test/__init__.py @@ -1,24 +1,24 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### diff --git a/lib/taurus/core/epics/test/res/__init__.py b/lib/taurus/core/epics/test/res/__init__.py index b5a56726..d111f89f 100644 --- a/lib/taurus/core/epics/test/res/__init__.py +++ b/lib/taurus/core/epics/test/res/__init__.py @@ -1,24 +1,24 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### diff --git a/lib/taurus/core/epics/test/test_epicsattribute.py b/lib/taurus/core/epics/test/test_epicsattribute.py index 1e3c3627..e6b02988 100644 --- a/lib/taurus/core/epics/test/test_epicsattribute.py +++ b/lib/taurus/core/epics/test/test_epicsattribute.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Test for epicsattributes... """ diff --git a/lib/taurus/core/epics/test/test_epicsvalidator.py b/lib/taurus/core/epics/test/test_epicsvalidator.py index cd4d3ddc..35e3030f 100644 --- a/lib/taurus/core/epics/test/test_epicsvalidator.py +++ b/lib/taurus/core/epics/test/test_epicsvalidator.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Test for taurus.core.epics.test.test_epicsvalidator... """ @@ -71,7 +71,7 @@ class EpicsAuthValidatorTestCase( @invalid(name="ca:") # device requires absolute non-empty path @invalid(name="epics:") # device requires absolute non-empty path @invalid(name="ca://") # this is an auth -@invalid(name="ca:foo") # device requires absolute path +@invalid(name="ca:foo") # device requires absolute path @invalid(name="ca:/foo") # devname must be empty (for now) @invalid(name="ca:@foo") @unittest.skipIf( diff --git a/lib/taurus/core/evaluation/__init__.py b/lib/taurus/core/evaluation/__init__.py index 0afd6142..243d0060 100644 --- a/lib/taurus/core/evaluation/__init__.py +++ b/lib/taurus/core/evaluation/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ .. currentmodule:: taurus.core.evaluation diff --git a/lib/taurus/core/evaluation/evalattribute.py b/lib/taurus/core/evaluation/evalattribute.py index 914f55ee..3cc1b76b 100644 --- a/lib/taurus/core/evaluation/evalattribute.py +++ b/lib/taurus/core/evaluation/evalattribute.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### __all__ = ["EvaluationAttribute"] diff --git a/lib/taurus/core/evaluation/evalauthority.py b/lib/taurus/core/evaluation/evalauthority.py index 95f966e4..e09afa91 100644 --- a/lib/taurus/core/evaluation/evalauthority.py +++ b/lib/taurus/core/evaluation/evalauthority.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ evaluation module. See __init__.py for more detailed documentation diff --git a/lib/taurus/core/evaluation/evaldevice.py b/lib/taurus/core/evaluation/evaldevice.py index 9fe4a803..1b043be3 100644 --- a/lib/taurus/core/evaluation/evaldevice.py +++ b/lib/taurus/core/evaluation/evaldevice.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### __all__ = ["EvaluationDevice"] diff --git a/lib/taurus/core/evaluation/evalfactory.py b/lib/taurus/core/evaluation/evalfactory.py index 79a6297a..54ae64ed 100644 --- a/lib/taurus/core/evaluation/evalfactory.py +++ b/lib/taurus/core/evaluation/evalfactory.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ evaluation module. See __init__.py for more detailed documentation diff --git a/lib/taurus/core/evaluation/evalvalidator.py b/lib/taurus/core/evaluation/evalvalidator.py index 6716378f..3fafdf4e 100644 --- a/lib/taurus/core/evaluation/evalvalidator.py +++ b/lib/taurus/core/evaluation/evalvalidator.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### import re import hashlib diff --git a/lib/taurus/core/evaluation/test/__init__.py b/lib/taurus/core/evaluation/test/__init__.py index b5a56726..d111f89f 100644 --- a/lib/taurus/core/evaluation/test/__init__.py +++ b/lib/taurus/core/evaluation/test/__init__.py @@ -1,24 +1,24 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### diff --git a/lib/taurus/core/evaluation/test/res/__init__.py b/lib/taurus/core/evaluation/test/res/__init__.py index b5a56726..d111f89f 100644 --- a/lib/taurus/core/evaluation/test/res/__init__.py +++ b/lib/taurus/core/evaluation/test/res/__init__.py @@ -1,24 +1,24 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### diff --git a/lib/taurus/core/evaluation/test/res/dev_example.py b/lib/taurus/core/evaluation/test/res/dev_example.py index 92850729..3812c96e 100644 --- a/lib/taurus/core/evaluation/test/res/dev_example.py +++ b/lib/taurus/core/evaluation/test/res/dev_example.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Examples on using the evaluation scheme for exposing arbitrary non-tango quantities as taurus attributes """ diff --git a/lib/taurus/core/evaluation/test/res/ipap_example.py b/lib/taurus/core/evaluation/test/res/ipap_example.py index 5dbc655c..825018cd 100644 --- a/lib/taurus/core/evaluation/test/res/ipap_example.py +++ b/lib/taurus/core/evaluation/test/res/ipap_example.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Examples on using the evaluation scheme for exposing icepap driver values diff --git a/lib/taurus/core/evaluation/test/res/mymod.py b/lib/taurus/core/evaluation/test/res/mymod.py index 99f5839c..e3a0d5e3 100644 --- a/lib/taurus/core/evaluation/test/res/mymod.py +++ b/lib/taurus/core/evaluation/test/res/mymod.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module is used for the tests of custom evaluation devices. diff --git a/lib/taurus/core/evaluation/test/test_evalattribute.py b/lib/taurus/core/evaluation/test/test_evalattribute.py index 3192586a..cf27e90b 100644 --- a/lib/taurus/core/evaluation/test/test_evalattribute.py +++ b/lib/taurus/core/evaluation/test/test_evalattribute.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Test for taurus.core.tango.test.test_tangovalidator... """ diff --git a/lib/taurus/core/evaluation/test/test_evalfactory.py b/lib/taurus/core/evaluation/test/test_evalfactory.py index 03ce03ca..e2ead891 100644 --- a/lib/taurus/core/evaluation/test/test_evalfactory.py +++ b/lib/taurus/core/evaluation/test/test_evalfactory.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Test for taurus.core.evaluation.test.test_evalfactory... """ diff --git a/lib/taurus/core/evaluation/test/test_evalvalidator.py b/lib/taurus/core/evaluation/test/test_evalvalidator.py index 2e54c699..578d0db5 100644 --- a/lib/taurus/core/evaluation/test/test_evalvalidator.py +++ b/lib/taurus/core/evaluation/test/test_evalvalidator.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Test for taurus.core.evaluation.test.test_evalvalidator... """ @@ -303,8 +303,8 @@ class EvaluationDevValidatorTestCase( # # this should be invalid because the reference is a dev name instead of an # attr name. But for the moment we do not check such details... -# #TODO: It could be implemented by using -# isValidName(ref, etypes=TaurusElementType.Attribute) +# TODO: It could be implemented by using +# isValidName(ref, etypes=TaurusElementType.Attribute) # ========================================================================= @names(name="eval:1", out=("eval://localhost/@DefaultEvaluator/1", "1", "1")) @names(name="eval:@Foo/1", out=("eval://localhost/@Foo/1", "@Foo/1", "1")) diff --git a/lib/taurus/core/init_bkcomp.py b/lib/taurus/core/init_bkcomp.py index 7dbfa93d..f85fbe55 100644 --- a/lib/taurus/core/init_bkcomp.py +++ b/lib/taurus/core/init_bkcomp.py @@ -1,35 +1,33 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """The core module """ from . import release as Release -# from .enums import * #note: all the enums from enums.py were moved to -# taurusbasetypes.py from .taurusbasetypes import * from .taurusexception import * from .taurusmodel import * diff --git a/lib/taurus/core/init_lightweight.py b/lib/taurus/core/init_lightweight.py index 7ae01a1a..3efd6742 100644 --- a/lib/taurus/core/init_lightweight.py +++ b/lib/taurus/core/init_lightweight.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """The core module """ diff --git a/lib/taurus/core/release.py b/lib/taurus/core/release.py index 643def22..441bb568 100644 --- a/lib/taurus/core/release.py +++ b/lib/taurus/core/release.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Release data for the taurus project. It contains the following members: diff --git a/lib/taurus/core/resource/__init__.py b/lib/taurus/core/resource/__init__.py index 02f62627..1c7bfa1d 100644 --- a/lib/taurus/core/resource/__init__.py +++ b/lib/taurus/core/resource/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ .. currentmodule:: taurus.core.resource diff --git a/lib/taurus/core/resource/resfactory.py b/lib/taurus/core/resource/resfactory.py index 8086b8a3..30607965 100644 --- a/lib/taurus/core/resource/resfactory.py +++ b/lib/taurus/core/resource/resfactory.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ resfactory.py: diff --git a/lib/taurus/core/resource/resvalidator.py b/lib/taurus/core/resource/resvalidator.py index 0924a354..85c9d381 100644 --- a/lib/taurus/core/resource/resvalidator.py +++ b/lib/taurus/core/resource/resvalidator.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### from taurus.core import TaurusElementType from taurus.core.taurusvalidator import ( diff --git a/lib/taurus/core/resource/test/__init__.py b/lib/taurus/core/resource/test/__init__.py index b5a56726..d111f89f 100644 --- a/lib/taurus/core/resource/test/__init__.py +++ b/lib/taurus/core/resource/test/__init__.py @@ -1,24 +1,24 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### diff --git a/lib/taurus/core/resource/test/test_resfactory.py b/lib/taurus/core/resource/test/test_resfactory.py index ce0630d5..56d499a2 100644 --- a/lib/taurus/core/resource/test/test_resfactory.py +++ b/lib/taurus/core/resource/test/test_resfactory.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Test for taurus.core.resource.test.test_resfactory... """ diff --git a/lib/taurus/core/resource/test/test_resvalidator.py b/lib/taurus/core/resource/test/test_resvalidator.py index 90b1816d..773f7207 100644 --- a/lib/taurus/core/resource/test/test_resvalidator.py +++ b/lib/taurus/core/resource/test/test_resvalidator.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Test for taurus.core.resource.test.test_resvalidator... """ diff --git a/lib/taurus/core/tango/__init__.py b/lib/taurus/core/tango/__init__.py index 4d716d73..9ddef3d1 100644 --- a/lib/taurus/core/tango/__init__.py +++ b/lib/taurus/core/tango/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Tango extension for taurus core mode. diff --git a/lib/taurus/core/tango/enums.py b/lib/taurus/core/tango/enums.py index a44a904d..3c46b500 100644 --- a/lib/taurus/core/tango/enums.py +++ b/lib/taurus/core/tango/enums.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains all basic tango enumerations """ diff --git a/lib/taurus/core/tango/img/__init__.py b/lib/taurus/core/tango/img/__init__.py index 8523c6a2..51f716a0 100644 --- a/lib/taurus/core/tango/img/__init__.py +++ b/lib/taurus/core/tango/img/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """The img package. It contains specific part of tango devices dedicated to images (CCDs, detectors, etc) diff --git a/lib/taurus/core/tango/img/img.py b/lib/taurus/core/tango/img/img.py index 8e544938..5375228e 100644 --- a/lib/taurus/core/tango/img/img.py +++ b/lib/taurus/core/tango/img/img.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """The img submodule. It contains specific device implementation for CCDs and 2D detectors diff --git a/lib/taurus/core/tango/starter.py b/lib/taurus/core/tango/starter.py index b64325e4..6e322755 100644 --- a/lib/taurus/core/tango/starter.py +++ b/lib/taurus/core/tango/starter.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a very simple API for starting and killing device servers diff --git a/lib/taurus/core/tango/tangoattribute.py b/lib/taurus/core/tango/tangoattribute.py index d97c8b37..9410584d 100644 --- a/lib/taurus/core/tango/tangoattribute.py +++ b/lib/taurus/core/tango/tangoattribute.py @@ -1,28 +1,28 @@ -# -*- coding: utf-8 -*- #!/usr/bin/env python +# -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains all taurus tango attribute """ diff --git a/lib/taurus/core/tango/tangoconfiguration.py b/lib/taurus/core/tango/tangoconfiguration.py index 8800b454..e9d7e645 100644 --- a/lib/taurus/core/tango/tangoconfiguration.py +++ b/lib/taurus/core/tango/tangoconfiguration.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """[DEPRECATED SINCE v 4.0] This module contains all taurus tango attribute configuration diff --git a/lib/taurus/core/tango/tangodatabase.py b/lib/taurus/core/tango/tangodatabase.py index 645472cd..e42659ca 100644 --- a/lib/taurus/core/tango/tangodatabase.py +++ b/lib/taurus/core/tango/tangodatabase.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains all taurus tango authority """ diff --git a/lib/taurus/core/tango/tangodevice.py b/lib/taurus/core/tango/tangodevice.py index 1ac55063..91e3a8b5 100644 --- a/lib/taurus/core/tango/tangodevice.py +++ b/lib/taurus/core/tango/tangodevice.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module defines the TangoDevice object """ diff --git a/lib/taurus/core/tango/tangofactory.py b/lib/taurus/core/tango/tangofactory.py index f4e01d44..13749b18 100644 --- a/lib/taurus/core/tango/tangofactory.py +++ b/lib/taurus/core/tango/tangofactory.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### try: pass diff --git a/lib/taurus/core/tango/tangovalidator.py b/lib/taurus/core/tango/tangovalidator.py index 41a8f56c..730ce849 100644 --- a/lib/taurus/core/tango/tangovalidator.py +++ b/lib/taurus/core/tango/tangovalidator.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains the base taurus name validator classes """ diff --git a/lib/taurus/core/tango/test/__init__.py b/lib/taurus/core/tango/test/__init__.py index 4203b3a7..cb4aa7b4 100644 --- a/lib/taurus/core/tango/test/__init__.py +++ b/lib/taurus/core/tango/test/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### from .nodb import NamedDeviceTestContext, nodb_dev from .res.TangoSchemeTest import TangoSchemeTest diff --git a/lib/taurus/core/tango/test/nodb.py b/lib/taurus/core/tango/test/nodb.py index 4bf71959..53480b5f 100644 --- a/lib/taurus/core/tango/test/nodb.py +++ b/lib/taurus/core/tango/test/nodb.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Module containing base classes for database-less tango tests """ diff --git a/lib/taurus/core/tango/test/res/TangoSchemeTest.py b/lib/taurus/core/tango/test/res/TangoSchemeTest.py index 6b1d1049..43d66682 100755 --- a/lib/taurus/core/tango/test/res/TangoSchemeTest.py +++ b/lib/taurus/core/tango/test/res/TangoSchemeTest.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus, a Tango User Interface Library -## +# # http://www.tango-controls.org/static/taurus/latest/doc/html/index.html -## +# # Copyright 2014 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### from distutils.version import LooseVersion from time import time, sleep diff --git a/lib/taurus/core/tango/test/res/__init__.py b/lib/taurus/core/tango/test/res/__init__.py index b5a56726..d111f89f 100644 --- a/lib/taurus/core/tango/test/res/__init__.py +++ b/lib/taurus/core/tango/test/res/__init__.py @@ -1,24 +1,24 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### diff --git a/lib/taurus/core/tango/test/test_tangoattribute.py b/lib/taurus/core/tango/test/test_tangoattribute.py index d6048fa0..1827ba0f 100644 --- a/lib/taurus/core/tango/test/test_tangoattribute.py +++ b/lib/taurus/core/tango/test/test_tangoattribute.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Test for taurus.core.tango.test.test_tangovalidator... """ diff --git a/lib/taurus/core/tango/test/test_tangofactory.py b/lib/taurus/core/tango/test/test_tangofactory.py index 62b3dae6..6dcb4931 100644 --- a/lib/taurus/core/tango/test/test_tangofactory.py +++ b/lib/taurus/core/tango/test/test_tangofactory.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Tests for taurus.core.tango.tangofactory """ diff --git a/lib/taurus/core/tango/test/test_tangovalidator.py b/lib/taurus/core/tango/test/test_tangovalidator.py index 2feaa684..509919d1 100644 --- a/lib/taurus/core/tango/test/test_tangovalidator.py +++ b/lib/taurus/core/tango/test/test_tangovalidator.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Test for taurus.core.tango.test.test_tangovalidator... """ diff --git a/lib/taurus/core/tango/test/tgtestds.py b/lib/taurus/core/tango/test/tgtestds.py index f1c5a073..0953902f 100644 --- a/lib/taurus/core/tango/test/tgtestds.py +++ b/lib/taurus/core/tango/test/tgtestds.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Module containing base classes for using the TangoSchemeTest DS in tests """ diff --git a/lib/taurus/core/tango/util/__init__.py b/lib/taurus/core/tango/util/__init__.py index fe234d6e..3bd0b3bd 100644 --- a/lib/taurus/core/tango/util/__init__.py +++ b/lib/taurus/core/tango/util/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """The sardana package. It contains specific part of sardana """ diff --git a/lib/taurus/core/tango/util/formatter.py b/lib/taurus/core/tango/util/formatter.py index cd28d4b5..c6af29d9 100644 --- a/lib/taurus/core/tango/util/formatter.py +++ b/lib/taurus/core/tango/util/formatter.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## +# ########################################################################### +# # This file is part of Taurus, a Tango User Interface Library -## +# # http://www.tango-controls.org/static/taurus/latest/doc/html/index.html -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# +# ########################################################################### __all__ = ["tangoFormatter"] diff --git a/lib/taurus/core/tango/util/tango_taurus.py b/lib/taurus/core/tango/util/tango_taurus.py index f36945e1..49c7e305 100644 --- a/lib/taurus/core/tango/util/tango_taurus.py +++ b/lib/taurus/core/tango/util/tango_taurus.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## +# ########################################################################### +# # This file is part of Taurus, a Tango User Interface Library -## +# # http://www.tango-controls.org/static/taurus/latest/doc/html/index.html -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# +# ########################################################################### """Utility functions to convert between tango and Taurus types """ diff --git a/lib/taurus/core/taurusattribute.py b/lib/taurus/core/taurusattribute.py index 06d5fca0..5938c66b 100644 --- a/lib/taurus/core/taurusattribute.py +++ b/lib/taurus/core/taurusattribute.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains the base class for a taurus attribute """ diff --git a/lib/taurus/core/taurusauthority.py b/lib/taurus/core/taurusauthority.py index 4c127bc2..4eb2d012 100644 --- a/lib/taurus/core/taurusauthority.py +++ b/lib/taurus/core/taurusauthority.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains the base class for a taurus database """ diff --git a/lib/taurus/core/taurusbasetypes.py b/lib/taurus/core/taurusbasetypes.py index 976c9b01..6d7e025a 100644 --- a/lib/taurus/core/taurusbasetypes.py +++ b/lib/taurus/core/taurusbasetypes.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ a misc collection of basic types @@ -148,7 +148,7 @@ DataType = Enumeration( "Bytes", "DevState", # for Tango backwards-compat. Avoid using it "DevEncoded", # for Tango backwards-compat. Avoid using it - "Object", # for opaque py objects not described by any of the above + "Object", # for opaque py objects not described by any of the above ), ) # monkey-patch DataType to provide from_python_type() diff --git a/lib/taurus/core/taurusconfiguration.py b/lib/taurus/core/taurusconfiguration.py index c753c451..08e65dd9 100644 --- a/lib/taurus/core/taurusconfiguration.py +++ b/lib/taurus/core/taurusconfiguration.py @@ -1,28 +1,28 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """[DEPRECATED since taurus v4] This module contains the base class for a taurus attribute configuration diff --git a/lib/taurus/core/taurusdatabase.py b/lib/taurus/core/taurusdatabase.py index 62922d02..60049f98 100644 --- a/lib/taurus/core/taurusdatabase.py +++ b/lib/taurus/core/taurusdatabase.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Do not use. Deprecated. Backwards compatibility module for transition from TaurusDatabase to TaurusAuthority diff --git a/lib/taurus/core/taurusdevice.py b/lib/taurus/core/taurusdevice.py index 55ba0e5c..0304e79c 100644 --- a/lib/taurus/core/taurusdevice.py +++ b/lib/taurus/core/taurusdevice.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains the base class for a taurus device """ diff --git a/lib/taurus/core/taurusexception.py b/lib/taurus/core/taurusexception.py index 31ffd649..f7c32a3a 100644 --- a/lib/taurus/core/taurusexception.py +++ b/lib/taurus/core/taurusexception.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains the taurus base exception classes """ diff --git a/lib/taurus/core/taurusfactory.py b/lib/taurus/core/taurusfactory.py index 78b7834d..39672568 100644 --- a/lib/taurus/core/taurusfactory.py +++ b/lib/taurus/core/taurusfactory.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module provides the :class:`TaurusFactory` base class that any valid diff --git a/lib/taurus/core/taurushelper.py b/lib/taurus/core/taurushelper.py index b5d1dfce..c6d9b258 100644 --- a/lib/taurus/core/taurushelper.py +++ b/lib/taurus/core/taurushelper.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """a list of helper methods """ diff --git a/lib/taurus/core/tauruslistener.py b/lib/taurus/core/tauruslistener.py index 16b4680d..4bc4f52c 100644 --- a/lib/taurus/core/tauruslistener.py +++ b/lib/taurus/core/tauruslistener.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains the taurus base listeners classes """ diff --git a/lib/taurus/core/taurusmanager.py b/lib/taurus/core/taurusmanager.py index 16549703..75d88511 100644 --- a/lib/taurus/core/taurusmanager.py +++ b/lib/taurus/core/taurusmanager.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains the taurus base manager class """ diff --git a/lib/taurus/core/taurusmodel.py b/lib/taurus/core/taurusmodel.py index 0bc57a07..89b922ff 100644 --- a/lib/taurus/core/taurusmodel.py +++ b/lib/taurus/core/taurusmodel.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains the base TaurusModel class """ diff --git a/lib/taurus/core/taurusoperation.py b/lib/taurus/core/taurusoperation.py index b983f5f9..005a2572 100644 --- a/lib/taurus/core/taurusoperation.py +++ b/lib/taurus/core/taurusoperation.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains the base taurus operation classes """ diff --git a/lib/taurus/core/tauruspollingtimer.py b/lib/taurus/core/tauruspollingtimer.py index 426c3915..afdf549c 100644 --- a/lib/taurus/core/tauruspollingtimer.py +++ b/lib/taurus/core/tauruspollingtimer.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains the polling class """ diff --git a/lib/taurus/core/taurusvalidator.py b/lib/taurus/core/taurusvalidator.py index c641abe1..5bd81dbb 100644 --- a/lib/taurus/core/taurusvalidator.py +++ b/lib/taurus/core/taurusvalidator.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains the base taurus name validator classes """ diff --git a/lib/taurus/core/test/__init__.py b/lib/taurus/core/test/__init__.py index aeab44b2..2f095a12 100644 --- a/lib/taurus/core/test/__init__.py +++ b/lib/taurus/core/test/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### from .basevalidator import valid, invalid, names, AbstractNameValidatorTestCase diff --git a/lib/taurus/core/test/basevalidator.py b/lib/taurus/core/test/basevalidator.py index 7b17639a..7cbd3216 100644 --- a/lib/taurus/core/test/basevalidator.py +++ b/lib/taurus/core/test/basevalidator.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Test util module for creating test cases for name validators """ diff --git a/lib/taurus/core/test/modelequality.py b/lib/taurus/core/test/modelequality.py index 2addf299..55ebb491 100644 --- a/lib/taurus/core/test/modelequality.py +++ b/lib/taurus/core/test/modelequality.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### import functools from taurus import Device, Attribute # , Authority diff --git a/lib/taurus/core/test/test_taurushelper.py b/lib/taurus/core/test/test_taurushelper.py index 641c8e9a..35913258 100644 --- a/lib/taurus/core/test/test_taurushelper.py +++ b/lib/taurus/core/test/test_taurushelper.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Test for taurus.core.taurushelper """ diff --git a/lib/taurus/core/test/test_units.py b/lib/taurus/core/test/test_units.py index d2a81805..933afdb9 100644 --- a/lib/taurus/core/test/test_units.py +++ b/lib/taurus/core/test/test_units.py @@ -1,28 +1,28 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### from taurus.core.units import Q_ diff --git a/lib/taurus/core/units.py b/lib/taurus/core/units.py index b965e87c..05cdf043 100644 --- a/lib/taurus/core/units.py +++ b/lib/taurus/core/units.py @@ -1,28 +1,28 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module provides a pint unit registry instance (`UR`) to be used by all diff --git a/lib/taurus/core/util/__init__.py b/lib/taurus/core/util/__init__.py index e31fa294..16de642c 100644 --- a/lib/taurus/core/util/__init__.py +++ b/lib/taurus/core/util/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package consists of a collection of useful classes and functions. Most of the elements are taurus independent and can be used generically. """ diff --git a/lib/taurus/core/util/argparse/__init__.py b/lib/taurus/core/util/argparse/__init__.py index 5d1b5fa0..f76929c9 100644 --- a/lib/taurus/core/util/argparse/__init__.py +++ b/lib/taurus/core/util/argparse/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### __docformat__ = "restructuredtext" diff --git a/lib/taurus/core/util/argparse/taurusargparse.py b/lib/taurus/core/util/argparse/taurusargparse.py index c276a1e3..0810fe3f 100644 --- a/lib/taurus/core/util/argparse/taurusargparse.py +++ b/lib/taurus/core/util/argparse/taurusargparse.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### # TODO: This module should be updated to use argparse instead of optparse diff --git a/lib/taurus/core/util/codecs.py b/lib/taurus/core/util/codecs.py index ed32526f..4acb96ca 100644 --- a/lib/taurus/core/util/codecs.py +++ b/lib/taurus/core/util/codecs.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module contains a list of codecs for the DEV_ENCODED attribute type. All codecs are based on the pair *format, data*. The format is a string @@ -648,9 +648,9 @@ class VideoImageCodec(Codec): >>> format,decoded_data = codec.decode(data) >>> # encode it again to check >>> format, encoded_data = codec.encode(("",decoded_data)) - >>> #compare images excluding the header: + >>> # compare images excluding the header: >>> data[1][32:] == encoded_data[32:] - >>> #The headers can be different in the frameNumber + >>> # The headers can be different in the frameNumber >>> struct.unpack('!IHHqiiHHHH',data[1][:32]) (1447314767, 1, 0, 6868, 1294, 964, 0, 32, 0, 0) >>> struct.unpack('!IHHqiiHHHH',encoded_data[:32]) @@ -883,20 +883,20 @@ class VideoImageCodec(Codec): "Y32": 2, # Core.Y32, "Y64": 3, # Core.Y64, # TODO: other modes - #'RGB555' : 4,#Core.RGB555, - #'RGB565' : 5,#Core.RGB565, + # 'RGB555' : 4, # Core.RGB555, + # 'RGB565' : 5, # Core.RGB565, "RGB24": 6, # Core.RGB24, "RGB32": 7, # Core.RGB32, - #'BGR24' : 8,#Core.BGR24, - #'BGR32' : 9,#Core.BGR32, - #'BAYER RG8' : 10,#Core.BAYER_RG8, - #'BAYER RG16' : 11,#Core.BAYER_RG16, - #'BAYER BG8' : 12,#Core.BAYER_BG8, - #'BAYER BG16' : 13,#Core.BAYER_BG16, - #'I420' : 14,#Core.I420, - #'YUV411' : 15,#Core.YUV411, + # 'BGR24' : 8, # Core.BGR24, + # 'BGR32' : 9, # Core.BGR32, + # 'BAYER RG8' : 10, # Core.BAYER_RG8, + # 'BAYER RG16' : 11, # Core.BAYER_RG16, + # 'BAYER BG8' : 12, # Core.BAYER_BG8, + # 'BAYER BG16' : 13, # Core.BAYER_BG16, + # 'I420' : 14, # Core.I420, + # 'YUV411' : 15, # Core.YUV411, "YUV422": 16, # Core.YUV422, - #'YUV444' : 17,#Core.YUV444 + # 'YUV444' : 17, # Core.YUV444 }[mode] def __getFormatId(self, mode): @@ -905,20 +905,20 @@ class VideoImageCodec(Codec): 1: "H", 2: "I", 3: "L", - #'RGB555' : Core.RGB555, - #'RGB565' : Core.RGB565, + # 4:"RGB555" # Core.RGB555, + # 5:"RGB565" # Core.RGB565, 6: "RGB24", # Core.RGB24, 7: "RGB32", # Core.RGB32, - # 8 : 'BGR24',#Core.BGR24, - #'BGR32' : Core.BGR32, - #'BAYER RG8' : Core.BAYER_RG8, - #'BAYER RG16' : Core.BAYER_RG16, - #'BAYER BG8' : Core.BAYER_BG8, - #'BAYER BG16' : Core.BAYER_BG16, - #'I420' : Core.I420, - #'YUV411' : Core.YUV411, + # 8: "BGR24", # Core.BGR24, + # 9: "BGR32" # Core.BGR32, + # 10: "BAYER RG8" # Core.BAYER_RG8, + # 11: "BAYER RG16" # Core.BAYER_RG16, + # 12: "BAYER BG8" # Core.BAYER_BG8, + # 13: "BAYER BG16" #: Core.BAYER_BG16, + # 14: "I420" # Core.I420, + # 15:"YUV411" # Core.YUV411, 16: "YUV422", # Core.YUV422, - #'YUV444' : Core.YUV444 + # 17:"YUV444" # Core.YUV444 }[mode] def __getDtypeId(self, mode): @@ -927,20 +927,20 @@ class VideoImageCodec(Codec): 1: "uint16", 2: "uint32", 3: "uint64", - #'RGB555' : Core.RGB555, - #'RGB565' : Core.RGB565, + # "RGB555" : Core.RGB555, + # "RGB565" : Core.RGB565, 6: "uint8", # Core.RGB24, 7: "uint8", # Core.RGB32, - #'BGR24' : Core.BGR24, - #'BGR32' : Core.BGR32, - #'BAYER RG8' : Core.BAYER_RG8, - #'BAYER RG16' : Core.BAYER_RG16, - #'BAYER BG8' : Core.BAYER_BG8, - #'BAYER BG16' : Core.BAYER_BG16, - #'I420' : Core.I420, - #'YUV411' : Core.YUV411, + # "BGR24" : Core.BGR24, + # "BGR32" : Core.BGR32, + # "BAYER RG8" : Core.BAYER_RG8, + # "BAYER RG16" : Core.BAYER_RG16, + # "BAYER BG8" : Core.BAYER_BG8, + # "BAYER BG16" : Core.BAYER_BG16, + # "I420" : Core.I420, + # "YUV411" : Core.YUV411, 16: "uint8", # Core.YUV422, - #'YUV444' : Core.YUV444 + # "YUV444" : Core.YUV444 }[mode] diff --git a/lib/taurus/core/util/colors.py b/lib/taurus/core/util/colors.py index 14e71522..a367737a 100644 --- a/lib/taurus/core/util/colors.py +++ b/lib/taurus/core/util/colors.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains color codes for state and quality """ diff --git a/lib/taurus/core/util/console.py b/lib/taurus/core/util/console.py index c472a807..8693b2d8 100644 --- a/lib/taurus/core/util/console.py +++ b/lib/taurus/core/util/console.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains ANSI color codes """ diff --git a/lib/taurus/core/util/constant.py b/lib/taurus/core/util/constant.py index f4dc31f8..b89aa0a5 100644 --- a/lib/taurus/core/util/constant.py +++ b/lib/taurus/core/util/constant.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This is a variation on "Constants in Python" by Alex Martelli, from which the solution idea was borrowed, and enhanced according suggestions of Zoran diff --git a/lib/taurus/core/util/containers.py b/lib/taurus/core/util/containers.py index b56826e1..7038f9fc 100644 --- a/lib/taurus/core/util/containers.py +++ b/lib/taurus/core/util/containers.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module contains a set of useful containers that are not part of the standard python distribution. """ @@ -509,7 +509,7 @@ class LoopList(object): condition is used for exiting it: - for item in llist: print(item) # This is a infinite loop!! - - for i in range(len(llist)):print(llist[i]) #This is not infinite + - for i in range(len(llist)):print(llist[i]) # not infinite since len(llist) returns the period of the list """ diff --git a/lib/taurus/core/util/decorator/__init__.py b/lib/taurus/core/util/decorator/__init__.py index 6977adfe..edccd068 100644 --- a/lib/taurus/core/util/decorator/__init__.py +++ b/lib/taurus/core/util/decorator/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module provides a few convenience decorators diff --git a/lib/taurus/core/util/decorator/decorator.py b/lib/taurus/core/util/decorator/decorator.py index be86fdb9..4b09f4b8 100644 --- a/lib/taurus/core/util/decorator/decorator.py +++ b/lib/taurus/core/util/decorator/decorator.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Provides a decorator to decorate decorators so that they can be used both diff --git a/lib/taurus/core/util/decorator/memoize.py b/lib/taurus/core/util/decorator/memoize.py index ba36d721..5501d33b 100644 --- a/lib/taurus/core/util/decorator/memoize.py +++ b/lib/taurus/core/util/decorator/memoize.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### import functools diff --git a/lib/taurus/core/util/decorator/typecheck.py b/lib/taurus/core/util/decorator/typecheck.py index 175c7a61..2bb58710 100644 --- a/lib/taurus/core/util/decorator/typecheck.py +++ b/lib/taurus/core/util/decorator/typecheck.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ One of three degrees of enforcement may be specified by passing diff --git a/lib/taurus/core/util/enumeration.py b/lib/taurus/core/util/enumeration.py index 97ed11cb..29f5365d 100644 --- a/lib/taurus/core/util/enumeration.py +++ b/lib/taurus/core/util/enumeration.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Enumeration module. In C, enums allow you to declare a bunch of constants with unique values, diff --git a/lib/taurus/core/util/event.py b/lib/taurus/core/util/event.py index 87f58424..454ecc34 100644 --- a/lib/taurus/core/util/event.py +++ b/lib/taurus/core/util/event.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ event.py: diff --git a/lib/taurus/core/util/eventfilters.py b/lib/taurus/core/util/eventfilters.py index f14a5353..2b0bca39 100644 --- a/lib/taurus/core/util/eventfilters.py +++ b/lib/taurus/core/util/eventfilters.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """event filters library to be used with :meth:`taurus.qt.qtgui.base.TaurusBaseComponent.setFilters` diff --git a/lib/taurus/core/util/excepthook.py b/lib/taurus/core/util/excepthook.py index cd382dd1..ff161dbc 100644 --- a/lib/taurus/core/util/excepthook.py +++ b/lib/taurus/core/util/excepthook.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains a base class for exception hooks """ diff --git a/lib/taurus/core/util/fandango_search.py b/lib/taurus/core/util/fandango_search.py index 6fb20153..c8af9007 100644 --- a/lib/taurus/core/util/fandango_search.py +++ b/lib/taurus/core/util/fandango_search.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ fandango_search.py: methods for getting matching device/attribute/alias names @@ -34,7 +34,7 @@ These methods have been borrowed from fandango modules. import re import taurus -############################################################################### +# ########################################################################### # Utils diff --git a/lib/taurus/core/util/fqdn.py b/lib/taurus/core/util/fqdn.py index 1409bbbb..5a7cc0a8 100644 --- a/lib/taurus/core/util/fqdn.py +++ b/lib/taurus/core/util/fqdn.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module contains provides the fqdn_no_alias function. """ diff --git a/lib/taurus/core/util/init_bkcomp.py b/lib/taurus/core/util/init_bkcomp.py index 7441f022..6ab13e2b 100644 --- a/lib/taurus/core/util/init_bkcomp.py +++ b/lib/taurus/core/util/init_bkcomp.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package consists of a collection of useful classes and functions. Most of the elements are taurus independent and can be used generically. """ diff --git a/lib/taurus/core/util/init_lightweight.py b/lib/taurus/core/util/init_lightweight.py index a28e4a95..493bc686 100644 --- a/lib/taurus/core/util/init_lightweight.py +++ b/lib/taurus/core/util/init_lightweight.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package consists of a collection of useful classes and functions. Most of the elements are taurus independent and can be used generically. diff --git a/lib/taurus/core/util/lazymodule.py b/lib/taurus/core/util/lazymodule.py index f27f4bd1..e76aa652 100644 --- a/lib/taurus/core/util/lazymodule.py +++ b/lib/taurus/core/util/lazymodule.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module provides LazyModule for loading plugin modules in lazy way - diff --git a/lib/taurus/core/util/lock.py b/lib/taurus/core/util/lock.py index 45ce5796..cf4885c7 100644 --- a/lib/taurus/core/util/lock.py +++ b/lib/taurus/core/util/lock.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module defines a *slow* lock class that provides additional debugging information diff --git a/lib/taurus/core/util/log.py b/lib/taurus/core/util/log.py index c5d9770c..9ad0cc97 100644 --- a/lib/taurus/core/util/log.py +++ b/lib/taurus/core/util/log.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains a set of useful logging elements based on python's :mod:`logging` system. diff --git a/lib/taurus/core/util/object.py b/lib/taurus/core/util/object.py index 0a54186a..b916923e 100644 --- a/lib/taurus/core/util/object.py +++ b/lib/taurus/core/util/object.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains the base Object class for taurus. """ diff --git a/lib/taurus/core/util/parse_args.py b/lib/taurus/core/util/parse_args.py index 1371a194..10a29a12 100644 --- a/lib/taurus/core/util/parse_args.py +++ b/lib/taurus/core/util/parse_args.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### from ast import literal_eval diff --git a/lib/taurus/core/util/plugin.py b/lib/taurus/core/util/plugin.py index 7516e547..96d3a462 100644 --- a/lib/taurus/core/util/plugin.py +++ b/lib/taurus/core/util/plugin.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Utilities for plugin loading and selection diff --git a/lib/taurus/core/util/prop.py b/lib/taurus/core/util/prop.py index 3fbe903a..53f3f35c 100644 --- a/lib/taurus/core/util/prop.py +++ b/lib/taurus/core/util/prop.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains a decorator to simplify the use of property. """ diff --git a/lib/taurus/core/util/property_parser.py b/lib/taurus/core/util/property_parser.py index 41163df9..e5e92a45 100644 --- a/lib/taurus/core/util/property_parser.py +++ b/lib/taurus/core/util/property_parser.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This is an experimental property parser """ @@ -44,7 +44,8 @@ tokens = [ "COMMA", "LLST", "RLST", - #'LBRACKET', 'RBRACKET', + # 'LBRACKET', + # 'RBRACKET', ] + list(reserved.values()) t_EQUALS = r"\=" diff --git a/lib/taurus/core/util/propertyfile.py b/lib/taurus/core/util/propertyfile.py index fa8f7ce4..03ff6805 100644 --- a/lib/taurus/core/util/propertyfile.py +++ b/lib/taurus/core/util/propertyfile.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ propertyfile.py: diff --git a/lib/taurus/core/util/remotelogmonitor.py b/lib/taurus/core/util/remotelogmonitor.py index 7393caa9..74607b73 100644 --- a/lib/taurus/core/util/remotelogmonitor.py +++ b/lib/taurus/core/util/remotelogmonitor.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Useful module for remote logging """ diff --git a/lib/taurus/core/util/report/__init__.py b/lib/taurus/core/util/report/__init__.py index cb6709c1..d3de5dc9 100644 --- a/lib/taurus/core/util/report/__init__.py +++ b/lib/taurus/core/util/report/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a panel to display taurus messages """ diff --git a/lib/taurus/core/util/report/report.py b/lib/taurus/core/util/report/report.py index 6c72384f..26a712e2 100644 --- a/lib/taurus/core/util/report/report.py +++ b/lib/taurus/core/util/report/report.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a panel to display taurus messages """ diff --git a/lib/taurus/core/util/safeeval.py b/lib/taurus/core/util/safeeval.py index 4d5a6f40..dda157ad 100644 --- a/lib/taurus/core/util/safeeval.py +++ b/lib/taurus/core/util/safeeval.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ safeeval.py: Safe eval replacement with whitelist support @@ -150,9 +150,6 @@ class SafeEvaluator(object): return self.safe_dict -##-----------------------------------------------## -# A demo of use - if __name__ == "__main__": x = list(range(6)) diff --git a/lib/taurus/core/util/singleton.py b/lib/taurus/core/util/singleton.py index 91cf338d..906f3165 100644 --- a/lib/taurus/core/util/singleton.py +++ b/lib/taurus/core/util/singleton.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains a class which can be used as a super class for all classes that need to implement the Singleton design pattern. diff --git a/lib/taurus/core/util/sourcecode.py b/lib/taurus/core/util/sourcecode.py index 91088532..f745f798 100644 --- a/lib/taurus/core/util/sourcecode.py +++ b/lib/taurus/core/util/sourcecode.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Source code text utilities """ diff --git a/lib/taurus/core/util/tablepprint.py b/lib/taurus/core/util/tablepprint.py index 49ea42cb..a09c55a8 100644 --- a/lib/taurus/core/util/tablepprint.py +++ b/lib/taurus/core/util/tablepprint.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Adapted from http://code.activestate.com/recipes/267662/ """ diff --git a/lib/taurus/core/util/tb.py b/lib/taurus/core/util/tb.py index 4b257502..d78d754e 100644 --- a/lib/taurus/core/util/tb.py +++ b/lib/taurus/core/util/tb.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains a set of useful traceback elements based on python's :mod:`traceback` system. diff --git a/lib/taurus/core/util/test/__init__.py b/lib/taurus/core/util/test/__init__.py index f0235e61..815b4e61 100644 --- a/lib/taurus/core/util/test/__init__.py +++ b/lib/taurus/core/util/test/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ """ diff --git a/lib/taurus/core/util/test/test_codecs.py b/lib/taurus/core/util/test/test_codecs.py index c826614f..8611e381 100644 --- a/lib/taurus/core/util/test/test_codecs.py +++ b/lib/taurus/core/util/test/test_codecs.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Test for taurus.core.util.codecs """ diff --git a/lib/taurus/core/util/test/test_lazymodule.py b/lib/taurus/core/util/test/test_lazymodule.py index db6ffa1e..64d89b3a 100644 --- a/lib/taurus/core/util/test/test_lazymodule.py +++ b/lib/taurus/core/util/test/test_lazymodule.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### import sys diff --git a/lib/taurus/core/util/test/test_plugin.py b/lib/taurus/core/util/test/test_plugin.py index 72a236d1..fe4d34b1 100644 --- a/lib/taurus/core/util/test/test_plugin.py +++ b/lib/taurus/core/util/test/test_plugin.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### from taurus.core.util.plugin import selectEntryPoints, EntryPointAlike diff --git a/lib/taurus/core/util/test/test_timer.py b/lib/taurus/core/util/test/test_timer.py index 02fe394b..f7cab4c0 100644 --- a/lib/taurus/core/util/test/test_timer.py +++ b/lib/taurus/core/util/test/test_timer.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Test for taurus.core.util.timer """ diff --git a/lib/taurus/core/util/threadpool.py b/lib/taurus/core/util/threadpool.py index 3785324d..f0e41462 100644 --- a/lib/taurus/core/util/threadpool.py +++ b/lib/taurus/core/util/threadpool.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """adapted from http://code.activestate.com/recipes/576576/ """ diff --git a/lib/taurus/core/util/timer.py b/lib/taurus/core/util/timer.py index 492fe80c..13eb94b9 100644 --- a/lib/taurus/core/util/timer.py +++ b/lib/taurus/core/util/timer.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains a :class:`Timer` class """ diff --git a/lib/taurus/core/util/user.py b/lib/taurus/core/util/user.py index 9dc2f753..13f84c88 100644 --- a/lib/taurus/core/util/user.py +++ b/lib/taurus/core/util/user.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Finds out user inf (currently just the logged user name) for Windows and @@ -56,9 +56,9 @@ def getSystemUserName(): # username='' -# if os.name is 'posix': #this works for linux and macOSX +# if os.name is 'posix': # this works for linux and macOSX # username=os.getenv('USER', UNKNOWN_USER) -# elif os.name is 'nt': #win NT, XP... (and Vista?) +# elif os.name is 'nt': # win NT, XP... (and Vista?) # username=os.getenv('USERNAME', UNKNOWN_USER) # if username == '': username=UNKNOWN_USER # return username diff --git a/lib/taurus/core/util/whichexecutable.py b/lib/taurus/core/util/whichexecutable.py index 3410d4cb..df6841b1 100644 --- a/lib/taurus/core/util/whichexecutable.py +++ b/lib/taurus/core/util/whichexecutable.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Find path of executable specified by filename """ diff --git a/lib/taurus/core/util/wrap.py b/lib/taurus/core/util/wrap.py index f82f12e0..6e850e11 100644 --- a/lib/taurus/core/util/wrap.py +++ b/lib/taurus/core/util/wrap.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ """ diff --git a/lib/taurus/external/__init__.py b/lib/taurus/external/__init__.py index f36e7b8d..7e473275 100644 --- a/lib/taurus/external/__init__.py +++ b/lib/taurus/external/__init__.py @@ -1,24 +1,24 @@ # -*- coding: utf-8 -*- -############################################################################## -## -## This file is part of Taurus -## -## http://taurus-scada.org -## -## Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## -## Taurus 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. -## -## Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# ########################################################################### +# +# This file is part of Taurus +# +# http://taurus-scada.org +# +# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain +# +# Taurus 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. +# +# Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. +# +# ########################################################################### diff --git a/lib/taurus/external/argparse/__init__.py b/lib/taurus/external/argparse/__init__.py index da57de65..abbe5962 100644 --- a/lib/taurus/external/argparse/__init__.py +++ b/lib/taurus/external/argparse/__init__.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## -## This file is part of Taurus -## -## http://taurus-scada.org -## -## Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## -## Taurus 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. -## -## Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# ########################################################################### +# +# This file is part of Taurus +# +# http://taurus-scada.org +# +# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain +# +# Taurus 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. +# +# Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. +# +# ########################################################################### from taurus.core.util import log as __log diff --git a/lib/taurus/external/enum/__init__.py b/lib/taurus/external/enum/__init__.py index b19113ec..87e14225 100644 --- a/lib/taurus/external/enum/__init__.py +++ b/lib/taurus/external/enum/__init__.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## -## This file is part of Taurus -## -## http://taurus-scada.org -## -## Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## -## Taurus 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. -## -## Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# ########################################################################### +# +# This file is part of Taurus +# +# http://taurus-scada.org +# +# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain +# +# Taurus 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. +# +# Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. +# +# ########################################################################### from taurus.core.util import log as __log diff --git a/lib/taurus/external/ordereddict/__init__.py b/lib/taurus/external/ordereddict/__init__.py index 22ec7777..1da82424 100644 --- a/lib/taurus/external/ordereddict/__init__.py +++ b/lib/taurus/external/ordereddict/__init__.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## -## This file is part of Taurus -## -## http://taurus-scada.org -## -## Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## -## Taurus 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. -## -## Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# ########################################################################### +# +# This file is part of Taurus +# +# http://taurus-scada.org +# +# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain +# +# Taurus 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. +# +# Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. +# +# ########################################################################### from taurus.core.util import log as __log diff --git a/lib/taurus/external/pint/__init__.py b/lib/taurus/external/pint/__init__.py index 44725653..1af10a9c 100644 --- a/lib/taurus/external/pint/__init__.py +++ b/lib/taurus/external/pint/__init__.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## -## This file is part of Taurus -## -## http://taurus-scada.org -## -## Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## -## Taurus 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. -## -## Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# ########################################################################### +# +# This file is part of Taurus +# +# http://taurus-scada.org +# +# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain +# +# Taurus 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. +# +# Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. +# +# ########################################################################### from taurus.core.util import log as __log diff --git a/lib/taurus/external/qt/Qt.py b/lib/taurus/external/qt/Qt.py index 5f7f9ef8..ca12866c 100644 --- a/lib/taurus/external/qt/Qt.py +++ b/lib/taurus/external/qt/Qt.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## -## This file is part of Taurus -## -## http://taurus-scada.org -## -## Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## -## Taurus 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. -## -## Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# ########################################################################### +# +# This file is part of Taurus +# +# http://taurus-scada.org +# +# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain +# +# Taurus 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. +# +# Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. +# +# ########################################################################### """This module exposes the Qt module """ diff --git a/lib/taurus/external/qt/QtUiTools.py b/lib/taurus/external/qt/QtUiTools.py index f6697553..01c17c88 100644 --- a/lib/taurus/external/qt/QtUiTools.py +++ b/lib/taurus/external/qt/QtUiTools.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## -## This file is part of Taurus -## -## http://taurus-scada.org -## -## Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## -## Taurus 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. -## -## Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# ########################################################################### +# +# This file is part of Taurus +# +# http://taurus-scada.org +# +# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain +# +# Taurus 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. +# +# Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. +# +# ########################################################################### """This module exposes the QtUiTools module (deprecated in taurus). It only makes sense when using PySide(2) (which were not supported before diff --git a/lib/taurus/external/qt/QtWebKit.py b/lib/taurus/external/qt/QtWebKit.py index e004d23b..a2098463 100644 --- a/lib/taurus/external/qt/QtWebKit.py +++ b/lib/taurus/external/qt/QtWebKit.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## -## This file is part of Taurus -## -## http://taurus-scada.org -## -## Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## -## Taurus 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. -## -## Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# ########################################################################### +# +# This file is part of Taurus +# +# http://taurus-scada.org +# +# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain +# +# Taurus 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. +# +# Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. +# +# ########################################################################### """This module exposes QtWebKit module """ diff --git a/lib/taurus/external/qt/__init__.py b/lib/taurus/external/qt/__init__.py index 32e02f13..6a898d53 100644 --- a/lib/taurus/external/qt/__init__.py +++ b/lib/taurus/external/qt/__init__.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## -## This file is part of Taurus -## -## http://taurus-scada.org -## -## Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## -## Taurus 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. -## -## Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# ########################################################################### +# +# This file is part of Taurus +# +# http://taurus-scada.org +# +# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain +# +# Taurus 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. +# +# Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. +# +# ########################################################################### """This module exposes PyQt4/PyQt5/PySide module """ diff --git a/lib/taurus/external/qt/compat.py b/lib/taurus/external/qt/compat.py index dde1fb93..8eba5638 100644 --- a/lib/taurus/external/qt/compat.py +++ b/lib/taurus/external/qt/compat.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## -## This file is part of Taurus -## -## http://taurus-scada.org -## -## Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## -## Taurus 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. -## -## Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# ########################################################################### +# +# This file is part of Taurus +# +# http://taurus-scada.org +# +# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain +# +# Taurus 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. +# +# Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. +# +# ########################################################################### """ This module provides utilities to smooth differences between different diff --git a/lib/taurus/external/test/__init__.py b/lib/taurus/external/test/__init__.py index f36e7b8d..7e473275 100644 --- a/lib/taurus/external/test/__init__.py +++ b/lib/taurus/external/test/__init__.py @@ -1,24 +1,24 @@ # -*- coding: utf-8 -*- -############################################################################## -## -## This file is part of Taurus -## -## http://taurus-scada.org -## -## Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## -## Taurus 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. -## -## Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# ########################################################################### +# +# This file is part of Taurus +# +# http://taurus-scada.org +# +# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain +# +# Taurus 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. +# +# Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. +# +# ########################################################################### diff --git a/lib/taurus/external/test/test_qt.py b/lib/taurus/external/test/test_qt.py index 936a32fa..f426a699 100644 --- a/lib/taurus/external/test/test_qt.py +++ b/lib/taurus/external/test/test_qt.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## -## This file is part of Taurus -## -## http://taurus-scada.org -## -## Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## -## Taurus 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. -## -## Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# ########################################################################### +# +# This file is part of Taurus +# +# http://taurus-scada.org +# +# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain +# +# Taurus 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. +# +# Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. +# +# ########################################################################### import sys diff --git a/lib/taurus/external/unittest/__init__.py b/lib/taurus/external/unittest/__init__.py index 22a4c889..774ac4bb 100644 --- a/lib/taurus/external/unittest/__init__.py +++ b/lib/taurus/external/unittest/__init__.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## -## This file is part of Taurus -## -## http://taurus-scada.org -## -## Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## -## Taurus 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. -## -## Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# ########################################################################### +# +# This file is part of Taurus +# +# http://taurus-scada.org +# +# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain +# +# Taurus 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. +# +# Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. +# +# ########################################################################### from taurus.core.util import log as __log diff --git a/lib/taurus/qt/__init__.py b/lib/taurus/qt/__init__.py index 28ca0729..e7a56d0a 100644 --- a/lib/taurus/qt/__init__.py +++ b/lib/taurus/qt/__init__.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """The taurus.qt submodule. It contains qt-specific part of taurus """ diff --git a/lib/taurus/qt/qtcore/__init__.py b/lib/taurus/qt/qtcore/__init__.py index 64001400..685f5caf 100644 --- a/lib/taurus/qt/qtcore/__init__.py +++ b/lib/taurus/qt/qtcore/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """The taurus.qt.qtcore submodule. It contains non-gui components of taurus.qt """ diff --git a/lib/taurus/qt/qtcore/communication/__init__.py b/lib/taurus/qt/qtcore/communication/__init__.py index 5bb3b908..b55be8de 100644 --- a/lib/taurus/qt/qtcore/communication/__init__.py +++ b/lib/taurus/qt/qtcore/communication/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """The taurus.qt.qtcore.communication submodule. It contains non-gui components of taurus.qt diff --git a/lib/taurus/qt/qtcore/communication/communication.py b/lib/taurus/qt/qtcore/communication/communication.py index 2236cc7b..0ba73690 100644 --- a/lib/taurus/qt/qtcore/communication/communication.py +++ b/lib/taurus/qt/qtcore/communication/communication.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ comunications.py: diff --git a/lib/taurus/qt/qtcore/configuration/__init__.py b/lib/taurus/qt/qtcore/configuration/__init__.py index c1401ab1..657674ac 100644 --- a/lib/taurus/qt/qtcore/configuration/__init__.py +++ b/lib/taurus/qt/qtcore/configuration/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides the set of base classes designed to provide configuration features to the classes that inherit from them diff --git a/lib/taurus/qt/qtcore/configuration/configuration.py b/lib/taurus/qt/qtcore/configuration/configuration.py index f19a0305..1facf719 100644 --- a/lib/taurus/qt/qtcore/configuration/configuration.py +++ b/lib/taurus/qt/qtcore/configuration/configuration.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides the set of base classes designed to provide configuration features to the classes that inherit from them @@ -105,7 +105,7 @@ class BaseConfigurableClass(object): contains a :class:`TaurusForm` and I want to save/restore the state of the checkbox and the properties of the form:: - #The class looks like this: + # The class looks like this: class MyBox(Qt.QGroupBox, BaseConfigurableClass): def __init__(self): ... @@ -116,21 +116,21 @@ class BaseConfigurableClass(object): self.setChecked, 'checked' ) - #the TaurusForm already handles its own configuration! + # the TaurusForm already handles its own configuration! self.registerConfigDelegate(self.form) ... - #and we can retrieve the configuration doing: + # and we can retrieve the configuration doing: b1 = MyBox() - #checked is a registered property of MyBox class + # checked is a registered property of MyBox class b1.setChecked(True) - #modifiableByUser is a registered property of a TaurusForm + # modifiableByUser is a registered property of a TaurusForm b1.form.setModifiableByUser(True) - #we get the configuration as a dictionary + # we get the configuration as a dictionary cfg = b1.createConfig() ... b2 = MyBox() - #now b2 has the same configuration as b1 when cfg was created + # now b2 has the same configuration as b1 when cfg was created b2.applyConfig(cfg) :meth:`createConfig` and :meth:`applyConfig` methods use a dictionary for diff --git a/lib/taurus/qt/qtcore/mimetypes/__init__.py b/lib/taurus/qt/qtcore/mimetypes/__init__.py index 38ffb66c..b27d86ad 100644 --- a/lib/taurus/qt/qtcore/mimetypes/__init__.py +++ b/lib/taurus/qt/qtcore/mimetypes/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """contains MIME type definitions used by taurus widgets """ diff --git a/lib/taurus/qt/qtcore/mimetypes/mimetypes.py b/lib/taurus/qt/qtcore/mimetypes/mimetypes.py index d777f911..02a2cea6 100644 --- a/lib/taurus/qt/qtcore/mimetypes/mimetypes.py +++ b/lib/taurus/qt/qtcore/mimetypes/mimetypes.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """mimetypes.py: contains MIME type definitions used by taurus widgets """ diff --git a/lib/taurus/qt/qtcore/model/__init__.py b/lib/taurus/qt/qtcore/model/__init__.py index 006d2eed..02f8cfd6 100644 --- a/lib/taurus/qt/qtcore/model/__init__.py +++ b/lib/taurus/qt/qtcore/model/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package provides taurus Qt models diff --git a/lib/taurus/qt/qtcore/model/taurusdatabasemodel.py b/lib/taurus/qt/qtcore/model/taurusdatabasemodel.py index 92eb8be7..d98026fa 100644 --- a/lib/taurus/qt/qtcore/model/taurusdatabasemodel.py +++ b/lib/taurus/qt/qtcore/model/taurusdatabasemodel.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides widgets that display the database in a tree format """ diff --git a/lib/taurus/qt/qtcore/model/taurusmodel.py b/lib/taurus/qt/qtcore/model/taurusmodel.py index 6409fd6d..9b19289a 100644 --- a/lib/taurus/qt/qtcore/model/taurusmodel.py +++ b/lib/taurus/qt/qtcore/model/taurusmodel.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides base taurus tree item and a base tree model """ diff --git a/lib/taurus/qt/qtcore/tango/__init__.py b/lib/taurus/qt/qtcore/tango/__init__.py index eb1daad1..37acf30f 100644 --- a/lib/taurus/qt/qtcore/tango/__init__.py +++ b/lib/taurus/qt/qtcore/tango/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ """ diff --git a/lib/taurus/qt/qtcore/taurusqlistener.py b/lib/taurus/qt/qtcore/taurusqlistener.py index 5345f2c4..42b6c89c 100644 --- a/lib/taurus/qt/qtcore/taurusqlistener.py +++ b/lib/taurus/qt/qtcore/taurusqlistener.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ """ diff --git a/lib/taurus/qt/qtcore/util/__init__.py b/lib/taurus/qt/qtcore/util/__init__.py index 5d23a5f3..a063c138 100644 --- a/lib/taurus/qt/qtcore/util/__init__.py +++ b/lib/taurus/qt/qtcore/util/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package provides a set of utilities (e.g. logging) to taurus qtcore """ diff --git a/lib/taurus/qt/qtcore/util/emitter.py b/lib/taurus/qt/qtcore/util/emitter.py index fd327e26..573cc050 100644 --- a/lib/taurus/qt/qtcore/util/emitter.py +++ b/lib/taurus/qt/qtcore/util/emitter.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ emitter.py: This module provides a task scheduler used by TaurusGrid and @@ -36,7 +36,7 @@ from taurus.external.qt import Qt from taurus.core.util.log import Logger -############################################################################### +# ########################################################################### # Helping methods @@ -86,7 +86,7 @@ class QEmitter(Qt.QObject): newQueue = Qt.pyqtSignal() -############################################################################### +# ########################################################################### class TaurusEmitterThread(Qt.QThread): @@ -140,7 +140,7 @@ class TaurusEmitterThread(Qt.QThread): .. code-block:: python - #Applying TaurusEmitterThread to an existing class: + # Applying TaurusEmitterThread to an existing class: from queue import Queue from functools import partial @@ -160,7 +160,7 @@ class TaurusEmitterThread(Qt.QThread): ... previous,synoptic_value = \ synoptic_value,TaurusValue(cell_frame) - #synoptic_value.setModel(model) + # synoptic_value.setModel(model) self.modelsQueue.put((synoptic_value,model)) ... def setModel(self,model): diff --git a/lib/taurus/qt/qtcore/util/properties.py b/lib/taurus/qt/qtcore/util/properties.py index 2079f01d..d61996ff 100644 --- a/lib/taurus/qt/qtcore/util/properties.py +++ b/lib/taurus/qt/qtcore/util/properties.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ properties.py: Methods for adding QProperties to QObjects @@ -51,9 +51,12 @@ Would replace all these lines: Not tested yet with the classical declaration: - #model = QtCore.pyqtProperty("QString", TaurusBaseWidget.getModel, - #TaurusBaseWidget.setModel, - #TaurusBaseWidget.resetModel) + model = QtCore.pyqtProperty( + "QString", + TaurusBaseWidget.getModel, + TaurusBaseWidget.setModel, + TaurusBaseWidget.resetModel + ) """ from taurus.external.qt import Qt @@ -119,8 +122,8 @@ def reset_property(obj, name, default=None, callback=None): COMMON_PROPERTIES = ( "ModelInConfig", # If True, it will automatically register Model "modifiableByUser", - #'useParentModel', #Only for widgets, not for components - #'Model', #Controlled by ModelInConfig + # 'useParentModel', # Only for widgets, not for components + # 'Model', # Controlled by ModelInConfig ) diff --git a/lib/taurus/qt/qtcore/util/signal.py b/lib/taurus/qt/qtcore/util/signal.py index 607ea550..ffb2704e 100644 --- a/lib/taurus/qt/qtcore/util/signal.py +++ b/lib/taurus/qt/qtcore/util/signal.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Provide a Signal class for non-QObject objects diff --git a/lib/taurus/qt/qtcore/util/tauruslog.py b/lib/taurus/qt/qtcore/util/tauruslog.py index 89f28199..2cb130da 100644 --- a/lib/taurus/qt/qtcore/util/tauruslog.py +++ b/lib/taurus/qt/qtcore/util/tauruslog.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module sets the taurus.core.util.log.Logger to be the Qt message handler """ diff --git a/lib/taurus/qt/qtdesigner/__init__.py b/lib/taurus/qt/qtdesigner/__init__.py index 8598334d..daf556f3 100644 --- a/lib/taurus/qt/qtdesigner/__init__.py +++ b/lib/taurus/qt/qtdesigner/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """The taurus.qt.qtdesigner submodule. It contains qt-specific part of taurus """ diff --git a/lib/taurus/qt/qtdesigner/containerplugin.py b/lib/taurus/qt/qtdesigner/containerplugin.py index f621d856..b2b4dc88 100644 --- a/lib/taurus/qt/qtdesigner/containerplugin.py +++ b/lib/taurus/qt/qtdesigner/containerplugin.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Every TaurusWidget should have the following Qt Designer extended diff --git a/lib/taurus/qt/qtdesigner/extraguiqwtplugin.py b/lib/taurus/qt/qtdesigner/extraguiqwtplugin.py index 6aaa7e4f..10db57af 100644 --- a/lib/taurus/qt/qtdesigner/extraguiqwtplugin.py +++ b/lib/taurus/qt/qtdesigner/extraguiqwtplugin.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ guiqwt widgets plugins for Qt Designer diff --git a/lib/taurus/qt/qtdesigner/taurusdesigner.py b/lib/taurus/qt/qtdesigner/taurusdesigner.py index 9ca0c398..2237a886 100644 --- a/lib/taurus/qt/qtdesigner/taurusdesigner.py +++ b/lib/taurus/qt/qtdesigner/taurusdesigner.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### import sys import click diff --git a/lib/taurus/qt/qtdesigner/taurusplugin/__init__.py b/lib/taurus/qt/qtdesigner/taurusplugin/__init__.py index 9f49b0b6..c18fdb93 100644 --- a/lib/taurus/qt/qtdesigner/taurusplugin/__init__.py +++ b/lib/taurus/qt/qtdesigner/taurusplugin/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """The taurus.qt.qtdesigner.taurusplugin submodule. """ diff --git a/lib/taurus/qt/qtdesigner/taurusplugin/taurusplugin.py b/lib/taurus/qt/qtdesigner/taurusplugin/taurusplugin.py index 8ca43ab8..3a593bd1 100644 --- a/lib/taurus/qt/qtdesigner/taurusplugin/taurusplugin.py +++ b/lib/taurus/qt/qtdesigner/taurusplugin/taurusplugin.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Every TaurusWidget should have the following Qt Designer extended capabilities: diff --git a/lib/taurus/qt/qtdesigner/tauruspluginplugin.py b/lib/taurus/qt/qtdesigner/tauruspluginplugin.py index 7133f059..9801d614 100644 --- a/lib/taurus/qt/qtdesigner/tauruspluginplugin.py +++ b/lib/taurus/qt/qtdesigner/tauruspluginplugin.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ tauruspluginplugin.py: diff --git a/lib/taurus/qt/qtgui/__init__.py b/lib/taurus/qt/qtgui/__init__.py index 18756a00..ffd117e5 100644 --- a/lib/taurus/qt/qtgui/__init__.py +++ b/lib/taurus/qt/qtgui/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package contains a collection of Qt based widgets designed to interact with taurus models. The widgets are generic in the sence that they do not diff --git a/lib/taurus/qt/qtgui/application/__init__.py b/lib/taurus/qt/qtgui/application/__init__.py index 6c866811..6dbc8776 100644 --- a/lib/taurus/qt/qtgui/application/__init__.py +++ b/lib/taurus/qt/qtgui/application/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides the base :class:`taurus.qt.qtgui.application.TaurusApplication` class. """ diff --git a/lib/taurus/qt/qtgui/application/taurusapplication.py b/lib/taurus/qt/qtgui/application/taurusapplication.py index 7717647a..3bc72d73 100644 --- a/lib/taurus/qt/qtgui/application/taurusapplication.py +++ b/lib/taurus/qt/qtgui/application/taurusapplication.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides the base :class:`taurus.qt.qtgui.application.TaurusApplication` class. diff --git a/lib/taurus/qt/qtgui/base/__init__.py b/lib/taurus/qt/qtgui/base/__init__.py index 4fae5219..c1821ba4 100644 --- a/lib/taurus/qt/qtgui/base/__init__.py +++ b/lib/taurus/qt/qtgui/base/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package provides the set of base classes from which the Qt taurus widgets should inherit to be considered valid taurus widgets. """ diff --git a/lib/taurus/qt/qtgui/base/taurusbase.py b/lib/taurus/qt/qtgui/base/taurusbase.py index 62a1ae3f..5ff71548 100644 --- a/lib/taurus/qt/qtgui/base/taurusbase.py +++ b/lib/taurus/qt/qtgui/base/taurusbase.py @@ -1,28 +1,28 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides the set of base classes from which the Qt taurus widgets should inherit to be considered valid taurus widgets. """ diff --git a/lib/taurus/qt/qtgui/base/tauruscontroller.py b/lib/taurus/qt/qtgui/base/tauruscontroller.py index 3e81f54b..c40fd933 100644 --- a/lib/taurus/qt/qtgui/base/tauruscontroller.py +++ b/lib/taurus/qt/qtgui/base/tauruscontroller.py @@ -1,28 +1,28 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides the set of base class taurus controllers. """ diff --git a/lib/taurus/qt/qtgui/base/test/__init__.py b/lib/taurus/qt/qtgui/base/test/__init__.py index 1f278624..9450b225 100644 --- a/lib/taurus/qt/qtgui/base/test/__init__.py +++ b/lib/taurus/qt/qtgui/base/test/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Tests for taurus.qt.qtgui.base """ diff --git a/lib/taurus/qt/qtgui/base/test/test_taurusbase.py b/lib/taurus/qt/qtgui/base/test/test_taurusbase.py index dbd1d1be..c36ced6d 100644 --- a/lib/taurus/qt/qtgui/base/test/test_taurusbase.py +++ b/lib/taurus/qt/qtgui/base/test/test_taurusbase.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Unit tests for taurusbase """ diff --git a/lib/taurus/qt/qtgui/button/__init__.py b/lib/taurus/qt/qtgui/button/__init__.py index 2fd7c6a2..eef07b23 100644 --- a/lib/taurus/qt/qtgui/button/__init__.py +++ b/lib/taurus/qt/qtgui/button/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package contains a collection taurus Qt button widgets """ diff --git a/lib/taurus/qt/qtgui/button/qbuttonbox.py b/lib/taurus/qt/qtgui/button/qbuttonbox.py index b1504b43..762ba8fd 100644 --- a/lib/taurus/qt/qtgui/button/qbuttonbox.py +++ b/lib/taurus/qt/qtgui/button/qbuttonbox.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ qbuttonbox.py: diff --git a/lib/taurus/qt/qtgui/button/taurusbutton.py b/lib/taurus/qt/qtgui/button/taurusbutton.py index 139b8f17..907f279d 100644 --- a/lib/taurus/qt/qtgui/button/taurusbutton.py +++ b/lib/taurus/qt/qtgui/button/taurusbutton.py @@ -1,28 +1,28 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a taurus QPushButton based widgets """ @@ -251,9 +251,9 @@ class TaurusLauncherButton(Qt.QPushButton, TaurusBaseWidget): "container": False, } - ##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# - # Qt Properties # - ##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# + # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + # Qt Properties + # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Model = Qt.pyqtProperty( "QString", TaurusBaseWidget.getModel, @@ -599,9 +599,9 @@ class TaurusCommandButton(Qt.QPushButton, TaurusBaseWidget): "container": False, } - ##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# - # Qt Properties # - ##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# + # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + # Qt Properties + # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Model = Qt.pyqtProperty( "QString", diff --git a/lib/taurus/qt/qtgui/button/test/__init__.py b/lib/taurus/qt/qtgui/button/test/__init__.py index b8bbb653..6912548d 100644 --- a/lib/taurus/qt/qtgui/button/test/__init__.py +++ b/lib/taurus/qt/qtgui/button/test/__init__.py @@ -1,22 +1,22 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### diff --git a/lib/taurus/qt/qtgui/button/test/res/__init__.py b/lib/taurus/qt/qtgui/button/test/res/__init__.py index b5a56726..d111f89f 100644 --- a/lib/taurus/qt/qtgui/button/test/res/__init__.py +++ b/lib/taurus/qt/qtgui/button/test/res/__init__.py @@ -1,24 +1,24 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### diff --git a/lib/taurus/qt/qtgui/button/test/test_commandbutton.py b/lib/taurus/qt/qtgui/button/test/test_commandbutton.py index 11a07f71..f43dba69 100644 --- a/lib/taurus/qt/qtgui/button/test/test_commandbutton.py +++ b/lib/taurus/qt/qtgui/button/test/test_commandbutton.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Unit tests for TaurusCommandButton diff --git a/lib/taurus/qt/qtgui/compact/__init__.py b/lib/taurus/qt/qtgui/compact/__init__.py index 36ad6eb4..844cae40 100644 --- a/lib/taurus/qt/qtgui/compact/__init__.py +++ b/lib/taurus/qt/qtgui/compact/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2013 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package contains a collection of taurus Qt widgets that combine other widgets to provide several functionalities in a reduced space """ diff --git a/lib/taurus/qt/qtgui/compact/abstractswitcher.py b/lib/taurus/qt/qtgui/compact/abstractswitcher.py index 81fa26bf..bd3c27ff 100644 --- a/lib/taurus/qt/qtgui/compact/abstractswitcher.py +++ b/lib/taurus/qt/qtgui/compact/abstractswitcher.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2013 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module provides base classes from which the compact widgets should inherit diff --git a/lib/taurus/qt/qtgui/compact/basicswitcher.py b/lib/taurus/qt/qtgui/compact/basicswitcher.py index e9a636b2..669e4041 100644 --- a/lib/taurus/qt/qtgui/compact/basicswitcher.py +++ b/lib/taurus/qt/qtgui/compact/basicswitcher.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2013 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides some basic usable widgets based on TaurusReadWriteSwitcher """ diff --git a/lib/taurus/qt/qtgui/console/__init__.py b/lib/taurus/qt/qtgui/console/__init__.py index edb78331..f4bd478c 100644 --- a/lib/taurus/qt/qtgui/console/__init__.py +++ b/lib/taurus/qt/qtgui/console/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """DEPRECATED since 4.0,4. Use `silx.gui.console` """ diff --git a/lib/taurus/qt/qtgui/container/__init__.py b/lib/taurus/qt/qtgui/container/__init__.py index 7354e208..370b1925 100644 --- a/lib/taurus/qt/qtgui/container/__init__.py +++ b/lib/taurus/qt/qtgui/container/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package provides generic taurus container widgets """ diff --git a/lib/taurus/qt/qtgui/container/qcontainer.py b/lib/taurus/qt/qtgui/container/qcontainer.py index 7ebb39fa..0cbe51a4 100644 --- a/lib/taurus/qt/qtgui/container/qcontainer.py +++ b/lib/taurus/qt/qtgui/container/qcontainer.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides basic pure Qt container widgets """ diff --git a/lib/taurus/qt/qtgui/container/taurusbasecontainer.py b/lib/taurus/qt/qtgui/container/taurusbasecontainer.py index 98ed086c..be10a8cb 100644 --- a/lib/taurus/qt/qtgui/container/taurusbasecontainer.py +++ b/lib/taurus/qt/qtgui/container/taurusbasecontainer.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides base class for all taurus container widgets """ diff --git a/lib/taurus/qt/qtgui/container/taurusframe.py b/lib/taurus/qt/qtgui/container/taurusframe.py index d7d80fec..1085bf59 100644 --- a/lib/taurus/qt/qtgui/container/taurusframe.py +++ b/lib/taurus/qt/qtgui/container/taurusframe.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides basic taurus container widgets """ diff --git a/lib/taurus/qt/qtgui/container/taurusgroupbox.py b/lib/taurus/qt/qtgui/container/taurusgroupbox.py index aef954e8..f5960bbe 100644 --- a/lib/taurus/qt/qtgui/container/taurusgroupbox.py +++ b/lib/taurus/qt/qtgui/container/taurusgroupbox.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides basic taurus group box widget """ diff --git a/lib/taurus/qt/qtgui/container/taurusgroupwidget.py b/lib/taurus/qt/qtgui/container/taurusgroupwidget.py index dfd3101e..e382d5c4 100644 --- a/lib/taurus/qt/qtgui/container/taurusgroupwidget.py +++ b/lib/taurus/qt/qtgui/container/taurusgroupwidget.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a taurus group widget """ diff --git a/lib/taurus/qt/qtgui/container/taurusmainwindow.py b/lib/taurus/qt/qtgui/container/taurusmainwindow.py index 58ba583b..2560458e 100644 --- a/lib/taurus/qt/qtgui/container/taurusmainwindow.py +++ b/lib/taurus/qt/qtgui/container/taurusmainwindow.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ mainwindow.py: a main window implementation with many added features by default @@ -1348,7 +1348,7 @@ if __name__ == "__main__": form.loadSettings() - # form.setCentralWidget(Qt.QMdiArea()) #just for testing + # form.setCentralWidget(Qt.QMdiArea()) # just for testing # form.addExternalAppLauncher('pwd') diff --git a/lib/taurus/qt/qtgui/container/taurusscrollarea.py b/lib/taurus/qt/qtgui/container/taurusscrollarea.py index 1d67d54c..24b3445a 100644 --- a/lib/taurus/qt/qtgui/container/taurusscrollarea.py +++ b/lib/taurus/qt/qtgui/container/taurusscrollarea.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides basic taurus scroll area widget """ diff --git a/lib/taurus/qt/qtgui/container/tauruswidget.py b/lib/taurus/qt/qtgui/container/tauruswidget.py index eca3a149..5c9f670d 100644 --- a/lib/taurus/qt/qtgui/container/tauruswidget.py +++ b/lib/taurus/qt/qtgui/container/tauruswidget.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides basic taurus container widget """ diff --git a/lib/taurus/qt/qtgui/dialog/__init__.py b/lib/taurus/qt/qtgui/dialog/__init__.py index 718bbfc0..9a789c34 100644 --- a/lib/taurus/qt/qtgui/dialog/__init__.py +++ b/lib/taurus/qt/qtgui/dialog/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package contains a collection of taurus Qt widgets representing various panels like forms or panels to be inserted in dialogs diff --git a/lib/taurus/qt/qtgui/dialog/taurusconfigurationdialog.py b/lib/taurus/qt/qtgui/dialog/taurusconfigurationdialog.py index fd77c08e..45178e97 100644 --- a/lib/taurus/qt/qtgui/dialog/taurusconfigurationdialog.py +++ b/lib/taurus/qt/qtgui/dialog/taurusconfigurationdialog.py @@ -1,27 +1,27 @@ # !/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a set of dialog based widgets """ diff --git a/lib/taurus/qt/qtgui/dialog/taurusinputdialog.py b/lib/taurus/qt/qtgui/dialog/taurusinputdialog.py index 9d7ce5d4..da7d19ff 100644 --- a/lib/taurus/qt/qtgui/dialog/taurusinputdialog.py +++ b/lib/taurus/qt/qtgui/dialog/taurusinputdialog.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a set of dialog based widgets """ diff --git a/lib/taurus/qt/qtgui/dialog/taurusmessagebox.py b/lib/taurus/qt/qtgui/dialog/taurusmessagebox.py index 3623d394..b6c750ae 100644 --- a/lib/taurus/qt/qtgui/dialog/taurusmessagebox.py +++ b/lib/taurus/qt/qtgui/dialog/taurusmessagebox.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a set of dialog based widgets """ diff --git a/lib/taurus/qt/qtgui/display/__init__.py b/lib/taurus/qt/qtgui/display/__init__.py index b4b58b16..324efa26 100644 --- a/lib/taurus/qt/qtgui/display/__init__.py +++ b/lib/taurus/qt/qtgui/display/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package contains a collection of taurus widgets designed to display taurus information, typically in a read-only fashion (no user interaction is diff --git a/lib/taurus/qt/qtgui/display/demo/__init__.py b/lib/taurus/qt/qtgui/display/demo/__init__.py index 3ab62431..d88f19b5 100644 --- a/lib/taurus/qt/qtgui/display/demo/__init__.py +++ b/lib/taurus/qt/qtgui/display/demo/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package contains a collection of taurus display widgets demos """ diff --git a/lib/taurus/qt/qtgui/display/demo/qpixmapwidgetdemo.py b/lib/taurus/qt/qtgui/display/demo/qpixmapwidgetdemo.py index 599b38ca..be28ceee 100644 --- a/lib/taurus/qt/qtgui/display/demo/qpixmapwidgetdemo.py +++ b/lib/taurus/qt/qtgui/display/demo/qpixmapwidgetdemo.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a demo for the :class:`taurus.qt.qtgui.display.TaurusLabel` widget diff --git a/lib/taurus/qt/qtgui/display/demo/tauruslabeldemo.py b/lib/taurus/qt/qtgui/display/demo/tauruslabeldemo.py index 9eaf6c16..391830f7 100644 --- a/lib/taurus/qt/qtgui/display/demo/tauruslabeldemo.py +++ b/lib/taurus/qt/qtgui/display/demo/tauruslabeldemo.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a demo for the :class:`taurus.qt.qtgui.display.TaurusLabel` widget """ diff --git a/lib/taurus/qt/qtgui/display/demo/tauruslcddemo.py b/lib/taurus/qt/qtgui/display/demo/tauruslcddemo.py index a70cbfb6..62388500 100644 --- a/lib/taurus/qt/qtgui/display/demo/tauruslcddemo.py +++ b/lib/taurus/qt/qtgui/display/demo/tauruslcddemo.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a demo for the :class:`~taurus.qt.qtgui.display.TaurusLCD` widget diff --git a/lib/taurus/qt/qtgui/display/demo/taurusleddemo.py b/lib/taurus/qt/qtgui/display/demo/taurusleddemo.py index 5f2074b1..06d8f29b 100644 --- a/lib/taurus/qt/qtgui/display/demo/taurusleddemo.py +++ b/lib/taurus/qt/qtgui/display/demo/taurusleddemo.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a demo for the :class:`taurus.qt.qtgui.display.TaurusLabel` widget diff --git a/lib/taurus/qt/qtgui/display/qfallback.py b/lib/taurus/qt/qtgui/display/qfallback.py index 95647f93..72f8f26a 100644 --- a/lib/taurus/qt/qtgui/display/qfallback.py +++ b/lib/taurus/qt/qtgui/display/qfallback.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """A pure Qt widget designed to be displayed when a real widget cannot be loaded for any reason (example: a dependency library is not installed) diff --git a/lib/taurus/qt/qtgui/display/qled.py b/lib/taurus/qt/qtgui/display/qled.py index 016cea4d..bc42d9f5 100644 --- a/lib/taurus/qt/qtgui/display/qled.py +++ b/lib/taurus/qt/qtgui/display/qled.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """A pure Qt led widget """ diff --git a/lib/taurus/qt/qtgui/display/qlogo.py b/lib/taurus/qt/qtgui/display/qlogo.py index b8a01482..76c24f59 100644 --- a/lib/taurus/qt/qtgui/display/qlogo.py +++ b/lib/taurus/qt/qtgui/display/qlogo.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ qlogo.py: diff --git a/lib/taurus/qt/qtgui/display/qpixmapwidget.py b/lib/taurus/qt/qtgui/display/qpixmapwidget.py index 2c13f3a3..4e39136b 100644 --- a/lib/taurus/qt/qtgui/display/qpixmapwidget.py +++ b/lib/taurus/qt/qtgui/display/qpixmapwidget.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains a pure Qt widget that displays an image """ diff --git a/lib/taurus/qt/qtgui/display/qsevensegment.py b/lib/taurus/qt/qtgui/display/qsevensegment.py index 27f959e6..8daaef1a 100644 --- a/lib/taurus/qt/qtgui/display/qsevensegment.py +++ b/lib/taurus/qt/qtgui/display/qsevensegment.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ qsevensegmentdisplay.py diff --git a/lib/taurus/qt/qtgui/display/tauruslabel.py b/lib/taurus/qt/qtgui/display/tauruslabel.py index 6c29e890..a73b45b2 100644 --- a/lib/taurus/qt/qtgui/display/tauruslabel.py +++ b/lib/taurus/qt/qtgui/display/tauruslabel.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a set of basic Taurus widgets based on QLabel """ diff --git a/lib/taurus/qt/qtgui/display/tauruslcd.py b/lib/taurus/qt/qtgui/display/tauruslcd.py index a4a1db24..f59b913b 100644 --- a/lib/taurus/qt/qtgui/display/tauruslcd.py +++ b/lib/taurus/qt/qtgui/display/tauruslcd.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a Taurus widget based on QLCDNumber """ diff --git a/lib/taurus/qt/qtgui/display/taurusled.py b/lib/taurus/qt/qtgui/display/taurusled.py index f70b480b..b27ff3f5 100644 --- a/lib/taurus/qt/qtgui/display/taurusled.py +++ b/lib/taurus/qt/qtgui/display/taurusled.py @@ -1,28 +1,28 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a set of basic Taurus widgets based on QLed """ diff --git a/lib/taurus/qt/qtgui/display/test/__init__.py b/lib/taurus/qt/qtgui/display/test/__init__.py index b5a56726..d111f89f 100644 --- a/lib/taurus/qt/qtgui/display/test/__init__.py +++ b/lib/taurus/qt/qtgui/display/test/__init__.py @@ -1,24 +1,24 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### diff --git a/lib/taurus/qt/qtgui/display/test/test_tauruslabel.py b/lib/taurus/qt/qtgui/display/test/test_tauruslabel.py index 2c7e81e8..21e4e51a 100644 --- a/lib/taurus/qt/qtgui/display/test/test_tauruslabel.py +++ b/lib/taurus/qt/qtgui/display/test/test_tauruslabel.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Unit tests for Taurus Label """ diff --git a/lib/taurus/qt/qtgui/editor/__init__.py b/lib/taurus/qt/qtgui/editor/__init__.py index ac968693..101a8926 100644 --- a/lib/taurus/qt/qtgui/editor/__init__.py +++ b/lib/taurus/qt/qtgui/editor/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package contains a collection of taurus text editor widgets """ diff --git a/lib/taurus/qt/qtgui/editor/tauruseditor.py b/lib/taurus/qt/qtgui/editor/tauruseditor.py index b84c4bcc..55eae3aa 100644 --- a/lib/taurus/qt/qtgui/editor/tauruseditor.py +++ b/lib/taurus/qt/qtgui/editor/tauruseditor.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains a taurus text editor widget. """ diff --git a/lib/taurus/qt/qtgui/extra_guiqwt/__init__.py b/lib/taurus/qt/qtgui/extra_guiqwt/__init__.py index 22d57c48..74770a54 100644 --- a/lib/taurus/qt/qtgui/extra_guiqwt/__init__.py +++ b/lib/taurus/qt/qtgui/extra_guiqwt/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides the glue between taurus and guiqwt. It essentially provides taurus extensions to qwtgui """ diff --git a/lib/taurus/qt/qtgui/extra_guiqwt/builder.py b/lib/taurus/qt/qtgui/extra_guiqwt/builder.py index 0265fea0..591fc49e 100644 --- a/lib/taurus/qt/qtgui/extra_guiqwt/builder.py +++ b/lib/taurus/qt/qtgui/extra_guiqwt/builder.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Extension of :mod:`guiqwt.builder` """ diff --git a/lib/taurus/qt/qtgui/extra_guiqwt/cli.py b/lib/taurus/qt/qtgui/extra_guiqwt/cli.py index b7daabc8..3e949531 100644 --- a/lib/taurus/qt/qtgui/extra_guiqwt/cli.py +++ b/lib/taurus/qt/qtgui/extra_guiqwt/cli.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### import click import sys diff --git a/lib/taurus/qt/qtgui/extra_guiqwt/curve.py b/lib/taurus/qt/qtgui/extra_guiqwt/curve.py index bf591756..ef49aced 100644 --- a/lib/taurus/qt/qtgui/extra_guiqwt/curve.py +++ b/lib/taurus/qt/qtgui/extra_guiqwt/curve.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Extension of :mod:`guiqwt.curve` """ diff --git a/lib/taurus/qt/qtgui/extra_guiqwt/curvesmodel.py b/lib/taurus/qt/qtgui/extra_guiqwt/curvesmodel.py index c9aea379..e8ee379f 100644 --- a/lib/taurus/qt/qtgui/extra_guiqwt/curvesmodel.py +++ b/lib/taurus/qt/qtgui/extra_guiqwt/curvesmodel.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ curvesmodel Model and view for new CurveItem configuration diff --git a/lib/taurus/qt/qtgui/extra_guiqwt/image.py b/lib/taurus/qt/qtgui/extra_guiqwt/image.py index b0c6f31c..a016fb50 100644 --- a/lib/taurus/qt/qtgui/extra_guiqwt/image.py +++ b/lib/taurus/qt/qtgui/extra_guiqwt/image.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Extension of :mod:`guiqwt.image` diff --git a/lib/taurus/qt/qtgui/extra_guiqwt/plot.py b/lib/taurus/qt/qtgui/extra_guiqwt/plot.py index a68b6934..a42a1f15 100644 --- a/lib/taurus/qt/qtgui/extra_guiqwt/plot.py +++ b/lib/taurus/qt/qtgui/extra_guiqwt/plot.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Extension of :mod:`guiqwt.plot` diff --git a/lib/taurus/qt/qtgui/extra_guiqwt/scales.py b/lib/taurus/qt/qtgui/extra_guiqwt/scales.py index 3707c359..70705c11 100644 --- a/lib/taurus/qt/qtgui/extra_guiqwt/scales.py +++ b/lib/taurus/qt/qtgui/extra_guiqwt/scales.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ scales.py: Custom scales used by taurus.qt.qtgui.plot module @@ -558,7 +558,7 @@ class FixedLabelsScaleDraw(FancyScaleDraw): FancyScaleDraw.__init__(self) self._positions = positions self._labels = labels - # self._positionsarray = numpy.array(self._positions) #this is stored + # self._positionsarray = numpy.array(self._positions) # this is stored # just in case def label(self, val): diff --git a/lib/taurus/qt/qtgui/extra_guiqwt/styles.py b/lib/taurus/qt/qtgui/extra_guiqwt/styles.py index c87a2bca..23aaf8e6 100644 --- a/lib/taurus/qt/qtgui/extra_guiqwt/styles.py +++ b/lib/taurus/qt/qtgui/extra_guiqwt/styles.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Extension of :mod:`guiqwt.styles` """ diff --git a/lib/taurus/qt/qtgui/extra_guiqwt/taurustrend2d.py b/lib/taurus/qt/qtgui/extra_guiqwt/taurustrend2d.py index e784d5f6..0ed675df 100644 --- a/lib/taurus/qt/qtgui/extra_guiqwt/taurustrend2d.py +++ b/lib/taurus/qt/qtgui/extra_guiqwt/taurustrend2d.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ taurustrend.py: Generic trend widget for Taurus diff --git a/lib/taurus/qt/qtgui/extra_guiqwt/tools.py b/lib/taurus/qt/qtgui/extra_guiqwt/tools.py index c42fc513..4dffbf5c 100644 --- a/lib/taurus/qt/qtgui/extra_guiqwt/tools.py +++ b/lib/taurus/qt/qtgui/extra_guiqwt/tools.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Extension of :mod:`guiqwt.tools` """ diff --git a/lib/taurus/qt/qtgui/extra_macroexecutor/__init__.py b/lib/taurus/qt/qtgui/extra_macroexecutor/__init__.py index 82b498f9..743b96cc 100644 --- a/lib/taurus/qt/qtgui/extra_macroexecutor/__init__.py +++ b/lib/taurus/qt/qtgui/extra_macroexecutor/__init__.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### raise ImportError( "Deprecated module." + "Use sardana.taurus.qt.qtgui.extra_macroexecutor" diff --git a/lib/taurus/qt/qtgui/extra_nexus/__init__.py b/lib/taurus/qt/qtgui/extra_nexus/__init__.py index 44adab71..372f4552 100644 --- a/lib/taurus/qt/qtgui/extra_nexus/__init__.py +++ b/lib/taurus/qt/qtgui/extra_nexus/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ __init__.py: diff --git a/lib/taurus/qt/qtgui/extra_nexus/taurusnexuswidget.py b/lib/taurus/qt/qtgui/extra_nexus/taurusnexuswidget.py index df0d2d77..e645c9ec 100644 --- a/lib/taurus/qt/qtgui/extra_nexus/taurusnexuswidget.py +++ b/lib/taurus/qt/qtgui/extra_nexus/taurusnexuswidget.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ nexusWidget.py: diff --git a/lib/taurus/qt/qtgui/extra_pool/__init__.py b/lib/taurus/qt/qtgui/extra_pool/__init__.py index d8fcd1d4..04dfdd6e 100644 --- a/lib/taurus/qt/qtgui/extra_pool/__init__.py +++ b/lib/taurus/qt/qtgui/extra_pool/__init__.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### raise ImportError( "Deprecated module." + "Use sardana.taurus.qt.qtgui.extra_pool" diff --git a/lib/taurus/qt/qtgui/extra_sardana/__init__.py b/lib/taurus/qt/qtgui/extra_sardana/__init__.py index 1ddf617e..d67915f9 100644 --- a/lib/taurus/qt/qtgui/extra_sardana/__init__.py +++ b/lib/taurus/qt/qtgui/extra_sardana/__init__.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### raise ImportError( "Deprecated module." + "Use sardana.taurus.qt.qtgui.extra_sardana" diff --git a/lib/taurus/qt/qtgui/graphic/__init__.py b/lib/taurus/qt/qtgui/graphic/__init__.py index 4fc3a360..c2c30765 100644 --- a/lib/taurus/qt/qtgui/graphic/__init__.py +++ b/lib/taurus/qt/qtgui/graphic/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package contains a collection of taurus Qt graphics view widgets """ diff --git a/lib/taurus/qt/qtgui/graphic/jdraw/__init__.py b/lib/taurus/qt/qtgui/graphic/jdraw/__init__.py index 5eca6882..bdb35191 100644 --- a/lib/taurus/qt/qtgui/graphic/jdraw/__init__.py +++ b/lib/taurus/qt/qtgui/graphic/jdraw/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package contains the jdraw file format specific classes """ diff --git a/lib/taurus/qt/qtgui/graphic/jdraw/jdraw.py b/lib/taurus/qt/qtgui/graphic/jdraw/jdraw.py index 35983532..88528476 100644 --- a/lib/taurus/qt/qtgui/graphic/jdraw/jdraw.py +++ b/lib/taurus/qt/qtgui/graphic/jdraw/jdraw.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains the graphics factory for the jdraw file format """ diff --git a/lib/taurus/qt/qtgui/graphic/jdraw/jdraw_parser.py b/lib/taurus/qt/qtgui/graphic/jdraw/jdraw_parser.py index e0cfca36..a2bbc839 100644 --- a/lib/taurus/qt/qtgui/graphic/jdraw/jdraw_parser.py +++ b/lib/taurus/qt/qtgui/graphic/jdraw/jdraw_parser.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module parses jdraw files """ diff --git a/lib/taurus/qt/qtgui/graphic/jdraw/jdraw_view.py b/lib/taurus/qt/qtgui/graphic/jdraw/jdraw_view.py index 2715c319..7a48f458 100644 --- a/lib/taurus/qt/qtgui/graphic/jdraw/jdraw_view.py +++ b/lib/taurus/qt/qtgui/graphic/jdraw/jdraw_view.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains the graphics view widget for jdraw files """ @@ -437,7 +437,7 @@ class TaurusJDrawSynopticsView(Qt.QGraphicsView, TaurusBaseWidget): if not hasattr(klass, "_defaultClass"): from taurus.qt.qtgui.panel import TaurusDevicePanel - # 'taurusdevicepanel' #You can use an executable or a class + # 'taurusdevicepanel' # You can use an executable or a class klass._defaultClass = TaurusDevicePanel obj = klass._defaultClass return obj @@ -562,9 +562,6 @@ class TaurusJDrawSynopticsView(Qt.QGraphicsView, TaurusBaseWidget): ) -#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - - def jdraw_view_main(): import sys import time diff --git a/lib/taurus/qt/qtgui/graphic/jdraw/test/__init__.py b/lib/taurus/qt/qtgui/graphic/jdraw/test/__init__.py index b5a56726..d111f89f 100644 --- a/lib/taurus/qt/qtgui/graphic/jdraw/test/__init__.py +++ b/lib/taurus/qt/qtgui/graphic/jdraw/test/__init__.py @@ -1,24 +1,24 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### diff --git a/lib/taurus/qt/qtgui/graphic/jdraw/test/res/__init__.py b/lib/taurus/qt/qtgui/graphic/jdraw/test/res/__init__.py index 52eea2c4..173cf040 100644 --- a/lib/taurus/qt/qtgui/graphic/jdraw/test/res/__init__.py +++ b/lib/taurus/qt/qtgui/graphic/jdraw/test/res/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This resources module contains: diff --git a/lib/taurus/qt/qtgui/graphic/taurusgraphic.py b/lib/taurus/qt/qtgui/graphic/taurusgraphic.py index d0b67c8f..02eb6a3c 100644 --- a/lib/taurus/qt/qtgui/graphic/taurusgraphic.py +++ b/lib/taurus/qt/qtgui/graphic/taurusgraphic.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ taurusgraphic.py: """ @@ -204,8 +204,6 @@ class TaurusGraphicsScene(Qt.QGraphicsScene): def __init__(self, parent=None, strt=True): name = self.__class__.__name__ - # self.call__init__(Logger, name, parent) #Inheriting from Logger - # caused exceptions in CONNECT Qt.QGraphicsScene.__init__(self, parent) self.updateQueue = None self.updateThread = None diff --git a/lib/taurus/qt/qtgui/graphic/taurusgraphicview.py b/lib/taurus/qt/qtgui/graphic/taurusgraphicview.py index 6d434722..d982719c 100644 --- a/lib/taurus/qt/qtgui/graphic/taurusgraphicview.py +++ b/lib/taurus/qt/qtgui/graphic/taurusgraphicview.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ taurusgraphicview.py: diff --git a/lib/taurus/qt/qtgui/help/__init__.py b/lib/taurus/qt/qtgui/help/__init__.py index 56bd0112..914a4d53 100644 --- a/lib/taurus/qt/qtgui/help/__init__.py +++ b/lib/taurus/qt/qtgui/help/__init__.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package contains a collection of taurus Qt widgets that provide a way to browse through the application help system diff --git a/lib/taurus/qt/qtgui/help/aboutdialog.py b/lib/taurus/qt/qtgui/help/aboutdialog.py index bfcdcb94..d9963f1c 100644 --- a/lib/taurus/qt/qtgui/help/aboutdialog.py +++ b/lib/taurus/qt/qtgui/help/aboutdialog.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# +# ########################################################################### """ This module provides a simple dialog to display typical About diff --git a/lib/taurus/qt/qtgui/help/assistant.py b/lib/taurus/qt/qtgui/help/assistant.py index b0bca9cf..fc358220 100644 --- a/lib/taurus/qt/qtgui/help/assistant.py +++ b/lib/taurus/qt/qtgui/help/assistant.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# +# ########################################################################### """ This module allows an application to provide help through the Qt diff --git a/lib/taurus/qt/qtgui/help/helppanel.py b/lib/taurus/qt/qtgui/help/helppanel.py index 13f2aae4..d0f3d4ac 100644 --- a/lib/taurus/qt/qtgui/help/helppanel.py +++ b/lib/taurus/qt/qtgui/help/helppanel.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################## -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# +# ########################################################################### """ This module provides a simple HTML help browser. diff --git a/lib/taurus/qt/qtgui/icon/__init__.py b/lib/taurus/qt/qtgui/icon/__init__.py index 51d03caa..c0631547 100644 --- a/lib/taurus/qt/qtgui/icon/__init__.py +++ b/lib/taurus/qt/qtgui/icon/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Utilities for using the bundled icons in Taurus and for registering external diff --git a/lib/taurus/qt/qtgui/icon/catalog.py b/lib/taurus/qt/qtgui/icon/catalog.py index 1c5a1214..de4395c3 100644 --- a/lib/taurus/qt/qtgui/icon/catalog.py +++ b/lib/taurus/qt/qtgui/icon/catalog.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module provides an icon catalog widget diff --git a/lib/taurus/qt/qtgui/icon/icon.py b/lib/taurus/qt/qtgui/icon/icon.py index a625c230..d98903d1 100644 --- a/lib/taurus/qt/qtgui/icon/icon.py +++ b/lib/taurus/qt/qtgui/icon/icon.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides taurus-specific functions related to icons """ diff --git a/lib/taurus/qt/qtgui/input/__init__.py b/lib/taurus/qt/qtgui/input/__init__.py index 9a59c1dc..0a5a59bb 100644 --- a/lib/taurus/qt/qtgui/input/__init__.py +++ b/lib/taurus/qt/qtgui/input/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package contains a collection of taurus Qt widgets that typically interact with the user. Examples are line edits, comboboxes and checkboxes """ diff --git a/lib/taurus/qt/qtgui/input/choicedlg.py b/lib/taurus/qt/qtgui/input/choicedlg.py index cd0a6fb4..f94f6ad2 100644 --- a/lib/taurus/qt/qtgui/input/choicedlg.py +++ b/lib/taurus/qt/qtgui/input/choicedlg.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """This package provides a dialog for graphically choosing a Taurus class """ diff --git a/lib/taurus/qt/qtgui/input/qwheel.py b/lib/taurus/qt/qtgui/input/qwheel.py index 286959ac..16b8d1d1 100644 --- a/lib/taurus/qt/qtgui/input/qwheel.py +++ b/lib/taurus/qt/qtgui/input/qwheel.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides an arrow based widget. """ diff --git a/lib/taurus/qt/qtgui/input/tauruscheckbox.py b/lib/taurus/qt/qtgui/input/tauruscheckbox.py index 5e3e3e0e..22876ffd 100644 --- a/lib/taurus/qt/qtgui/input/tauruscheckbox.py +++ b/lib/taurus/qt/qtgui/input/tauruscheckbox.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a set of basic taurus widgets based on QCheckBox """ diff --git a/lib/taurus/qt/qtgui/input/tauruscombobox.py b/lib/taurus/qt/qtgui/input/tauruscombobox.py index fe8dbbb8..49602aea 100644 --- a/lib/taurus/qt/qtgui/input/tauruscombobox.py +++ b/lib/taurus/qt/qtgui/input/tauruscombobox.py @@ -1,28 +1,28 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a set of basic taurus widgets based on QCheckBox """ @@ -409,9 +409,9 @@ class TaurusAttrListComboBox(Qt.QComboBox, TaurusBaseWidget): ) -##################################################################### +# ########################################################################### # Testing -##################################################################### +# ########################################################################### def _taurusAttrListTest(): """tests taurusAttrList. Model: an attribute containing a list of strings""" diff --git a/lib/taurus/qt/qtgui/input/tauruslineedit.py b/lib/taurus/qt/qtgui/input/tauruslineedit.py index 834fe37c..5816801d 100644 --- a/lib/taurus/qt/qtgui/input/tauruslineedit.py +++ b/lib/taurus/qt/qtgui/input/tauruslineedit.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module provides a set of basic taurus widgets based on QLineEdit diff --git a/lib/taurus/qt/qtgui/input/taurusspinbox.py b/lib/taurus/qt/qtgui/input/taurusspinbox.py index 872e5073..0a77017c 100644 --- a/lib/taurus/qt/qtgui/input/taurusspinbox.py +++ b/lib/taurus/qt/qtgui/input/taurusspinbox.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module provides a set of basic taurus widgets based on QAbstractSpinBox diff --git a/lib/taurus/qt/qtgui/input/tauruswheel.py b/lib/taurus/qt/qtgui/input/tauruswheel.py index d495b3f4..1c2813b1 100644 --- a/lib/taurus/qt/qtgui/input/tauruswheel.py +++ b/lib/taurus/qt/qtgui/input/tauruswheel.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a set of basic taurus widgets based on QWheelEdit """ diff --git a/lib/taurus/qt/qtgui/input/test/__init__.py b/lib/taurus/qt/qtgui/input/test/__init__.py index b5a56726..d111f89f 100644 --- a/lib/taurus/qt/qtgui/input/test/__init__.py +++ b/lib/taurus/qt/qtgui/input/test/__init__.py @@ -1,24 +1,24 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### diff --git a/lib/taurus/qt/qtgui/model/__init__.py b/lib/taurus/qt/qtgui/model/__init__.py index 19c69455..10484856 100644 --- a/lib/taurus/qt/qtgui/model/__init__.py +++ b/lib/taurus/qt/qtgui/model/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package provides the set of base model widget classes. """ diff --git a/lib/taurus/qt/qtgui/model/qbasemodel.py b/lib/taurus/qt/qtgui/model/qbasemodel.py index b05cc45e..5b53e4fb 100644 --- a/lib/taurus/qt/qtgui/model/qbasemodel.py +++ b/lib/taurus/qt/qtgui/model/qbasemodel.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides base widget that displays a Qt view widget envolved by a toolbar and a status bar (optional) diff --git a/lib/taurus/qt/qtgui/panel/__init__.py b/lib/taurus/qt/qtgui/panel/__init__.py index 20513295..407aeba1 100644 --- a/lib/taurus/qt/qtgui/panel/__init__.py +++ b/lib/taurus/qt/qtgui/panel/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package contains a collection of taurus Qt widgets representing various panels like forms or panels to be inserted in dialogs diff --git a/lib/taurus/qt/qtgui/panel/qdataexportdialog.py b/lib/taurus/qt/qtgui/panel/qdataexportdialog.py index 443daa52..f3b22c3b 100644 --- a/lib/taurus/qt/qtgui/panel/qdataexportdialog.py +++ b/lib/taurus/qt/qtgui/panel/qdataexportdialog.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """DataExportDlg.py: A Qt dialog for showing and exporting x-y Ascii data from one or more curves diff --git a/lib/taurus/qt/qtgui/panel/qdoublelist.py b/lib/taurus/qt/qtgui/panel/qdoublelist.py index fa47a88b..67f20426 100644 --- a/lib/taurus/qt/qtgui/panel/qdoublelist.py +++ b/lib/taurus/qt/qtgui/panel/qdoublelist.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """ diff --git a/lib/taurus/qt/qtgui/panel/qrawdatachooser.py b/lib/taurus/qt/qtgui/panel/qrawdatachooser.py index f20cf5b8..2ecc928a 100644 --- a/lib/taurus/qt/qtgui/panel/qrawdatachooser.py +++ b/lib/taurus/qt/qtgui/panel/qrawdatachooser.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ RawDataChooser.py: widget for importing RawData (from file or from a function) diff --git a/lib/taurus/qt/qtgui/panel/report/__init__.py b/lib/taurus/qt/qtgui/panel/report/__init__.py index 92ad88ed..bb620786 100644 --- a/lib/taurus/qt/qtgui/panel/report/__init__.py +++ b/lib/taurus/qt/qtgui/panel/report/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ __init__.py: diff --git a/lib/taurus/qt/qtgui/panel/report/albareport.py b/lib/taurus/qt/qtgui/panel/report/albareport.py index ac6f029e..08b936b4 100644 --- a/lib/taurus/qt/qtgui/panel/report/albareport.py +++ b/lib/taurus/qt/qtgui/panel/report/albareport.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Provides an ALBA-customized SendMailDialog to create tickets in ALBA """ diff --git a/lib/taurus/qt/qtgui/panel/report/basicreport.py b/lib/taurus/qt/qtgui/panel/report/basicreport.py index 94205d2e..038e1d8a 100644 --- a/lib/taurus/qt/qtgui/panel/report/basicreport.py +++ b/lib/taurus/qt/qtgui/panel/report/basicreport.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a panel to display taurus messages """ diff --git a/lib/taurus/qt/qtgui/panel/taurusconfigeditor.py b/lib/taurus/qt/qtgui/panel/taurusconfigeditor.py index 2c3275dd..38387541 100644 --- a/lib/taurus/qt/qtgui/panel/taurusconfigeditor.py +++ b/lib/taurus/qt/qtgui/panel/taurusconfigeditor.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ taurusconfigeditor.py: diff --git a/lib/taurus/qt/qtgui/panel/taurusconfigurationpanel.py b/lib/taurus/qt/qtgui/panel/taurusconfigurationpanel.py index 1c2b9e48..403cb2dd 100644 --- a/lib/taurus/qt/qtgui/panel/taurusconfigurationpanel.py +++ b/lib/taurus/qt/qtgui/panel/taurusconfigurationpanel.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a set of basic taurus widgets based on QLineEdit """ diff --git a/lib/taurus/qt/qtgui/panel/taurusdemo.py b/lib/taurus/qt/qtgui/panel/taurusdemo.py index 95f51870..a344c887 100644 --- a/lib/taurus/qt/qtgui/panel/taurusdemo.py +++ b/lib/taurus/qt/qtgui/panel/taurusdemo.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus, a Tango User Interface Library -## +# # http://www.tango-controls.org/static/taurus/latest/doc/html/index.html -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### import sys import click diff --git a/lib/taurus/qt/qtgui/panel/taurusdevicepanel.py b/lib/taurus/qt/qtgui/panel/taurusdevicepanel.py index ea055c5d..121a953f 100644 --- a/lib/taurus/qt/qtgui/panel/taurusdevicepanel.py +++ b/lib/taurus/qt/qtgui/panel/taurusdevicepanel.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ TaurusDevicePanel.py: @@ -53,7 +53,7 @@ __all__ = ["TaurusDevicePanel", "TaurusDevPanel"] __docformat__ = "restructuredtext" -############################################################################### +# ########################################################################### # TaurusDevicePanel (from Vacca) # Variables that control TaurusDevicePanel shape diff --git a/lib/taurus/qt/qtgui/panel/taurusform.py b/lib/taurus/qt/qtgui/panel/taurusform.py index f908e010..93f16f33 100644 --- a/lib/taurus/qt/qtgui/panel/taurusform.py +++ b/lib/taurus/qt/qtgui/panel/taurusform.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains taurus Qt form widgets """ diff --git a/lib/taurus/qt/qtgui/panel/taurusinputpanel.py b/lib/taurus/qt/qtgui/panel/taurusinputpanel.py index acfcb79d..c2006fee 100644 --- a/lib/taurus/qt/qtgui/panel/taurusinputpanel.py +++ b/lib/taurus/qt/qtgui/panel/taurusinputpanel.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides an Input panel (usually used inside a TaurusDialog) """ diff --git a/lib/taurus/qt/qtgui/panel/taurusmessagepanel.py b/lib/taurus/qt/qtgui/panel/taurusmessagepanel.py index ebd10ddd..17031e35 100644 --- a/lib/taurus/qt/qtgui/panel/taurusmessagepanel.py +++ b/lib/taurus/qt/qtgui/panel/taurusmessagepanel.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a panel to display taurus messages """ diff --git a/lib/taurus/qt/qtgui/panel/taurusmodelchooser.py b/lib/taurus/qt/qtgui/panel/taurusmodelchooser.py index 7c12d295..7061271b 100644 --- a/lib/taurus/qt/qtgui/panel/taurusmodelchooser.py +++ b/lib/taurus/qt/qtgui/panel/taurusmodelchooser.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ AttributeChooser.py: widget for choosing (a list of) attributes from a tango DB diff --git a/lib/taurus/qt/qtgui/panel/taurusmodellist.py b/lib/taurus/qt/qtgui/panel/taurusmodellist.py index 9fb782f6..b74e26f4 100644 --- a/lib/taurus/qt/qtgui/panel/taurusmodellist.py +++ b/lib/taurus/qt/qtgui/panel/taurusmodellist.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ itemsmodel Model and view for new CurveItem configuration diff --git a/lib/taurus/qt/qtgui/panel/taurusvalue.py b/lib/taurus/qt/qtgui/panel/taurusvalue.py index e63d07d2..fefc433b 100644 --- a/lib/taurus/qt/qtgui/panel/taurusvalue.py +++ b/lib/taurus/qt/qtgui/panel/taurusvalue.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ taurusvalue.py: @@ -969,7 +969,7 @@ class TaurusValue(Qt.QWidget, TaurusBaseWidget): msg = "Error creating read widget:\n" + str(e) self._readWidget.setToolTip(msg) self.debug(msg) - # self.traceback(30) #warning level=30 + # self.traceback(30) # warning level=30 # take care of the layout self.addReadWidgetToLayout() diff --git a/lib/taurus/qt/qtgui/panel/test/__init__.py b/lib/taurus/qt/qtgui/panel/test/__init__.py index b5a56726..d111f89f 100644 --- a/lib/taurus/qt/qtgui/panel/test/__init__.py +++ b/lib/taurus/qt/qtgui/panel/test/__init__.py @@ -1,24 +1,24 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### diff --git a/lib/taurus/qt/qtgui/panel/test/test_taurusform.py b/lib/taurus/qt/qtgui/panel/test/test_taurusform.py index 767f0e8a..269b7946 100644 --- a/lib/taurus/qt/qtgui/panel/test/test_taurusform.py +++ b/lib/taurus/qt/qtgui/panel/test/test_taurusform.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Unit tests for Taurus Forms """ diff --git a/lib/taurus/qt/qtgui/panel/test/test_taurusvalue.py b/lib/taurus/qt/qtgui/panel/test/test_taurusvalue.py index b1bd9dee..3e0403f2 100644 --- a/lib/taurus/qt/qtgui/panel/test/test_taurusvalue.py +++ b/lib/taurus/qt/qtgui/panel/test/test_taurusvalue.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Test for taurus.qt.qtgui.panel.taurusvalue """ diff --git a/lib/taurus/qt/qtgui/plot/__init__.py b/lib/taurus/qt/qtgui/plot/__init__.py index 03c5c880..886163a6 100644 --- a/lib/taurus/qt/qtgui/plot/__init__.py +++ b/lib/taurus/qt/qtgui/plot/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Taurus Plot module (old) diff --git a/lib/taurus/qt/qtgui/resource/__init__.py b/lib/taurus/qt/qtgui/resource/__init__.py index bdfc2fba..b81097ec 100644 --- a/lib/taurus/qt/qtgui/resource/__init__.py +++ b/lib/taurus/qt/qtgui/resource/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Old module supporting resources (now it just contains a reimplementation diff --git a/lib/taurus/qt/qtgui/resource/taurus_resource_utils.py b/lib/taurus/qt/qtgui/resource/taurus_resource_utils.py index f532e318..41d1bff5 100644 --- a/lib/taurus/qt/qtgui/resource/taurus_resource_utils.py +++ b/lib/taurus/qt/qtgui/resource/taurus_resource_utils.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides widgets that display the database in a tree format """ diff --git a/lib/taurus/qt/qtgui/style/__init__.py b/lib/taurus/qt/qtgui/style/__init__.py index 9f0f48a9..66793547 100644 --- a/lib/taurus/qt/qtgui/style/__init__.py +++ b/lib/taurus/qt/qtgui/style/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides Qt styles """ diff --git a/lib/taurus/qt/qtgui/style/nebula.py b/lib/taurus/qt/qtgui/style/nebula.py index bd2b7da0..2c92188b 100644 --- a/lib/taurus/qt/qtgui/style/nebula.py +++ b/lib/taurus/qt/qtgui/style/nebula.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module contains a taurus qt style called nebula """ diff --git a/lib/taurus/qt/qtgui/table/__init__.py b/lib/taurus/qt/qtgui/table/__init__.py index 4f3c6013..c473dc40 100644 --- a/lib/taurus/qt/qtgui/table/__init__.py +++ b/lib/taurus/qt/qtgui/table/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package provides taurus Qt table widgets """ diff --git a/lib/taurus/qt/qtgui/table/qdictionary.py b/lib/taurus/qt/qtgui/table/qdictionary.py index 28086f63..c9a4a3f0 100644 --- a/lib/taurus/qt/qtgui/table/qdictionary.py +++ b/lib/taurus/qt/qtgui/table/qdictionary.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides basic python dictionary/list editor widgets """ @@ -38,7 +38,7 @@ __all__ = ["QDictionaryEditor", "QListEditor"] __docformat__ = "restructuredtext" -############################################################################### +# ########################################################################### # Methods borrowed from fandango modules @@ -162,7 +162,7 @@ def array2dict(table): return data -############################################################################### +# ########################################################################### class QBaseDictionaryEditor(Qt.QDialog, TaurusBaseContainer): @@ -275,7 +275,7 @@ class QBaseDictionaryEditor(Qt.QDialog, TaurusBaseContainer): raise Exception("save(self)!") -############################################################################### +# ########################################################################### class QDictionaryEditor(QBaseDictionaryEditor): @@ -329,7 +329,7 @@ class QDictionaryEditor(QBaseDictionaryEditor): self.updateStyle() -############################################################################### +# ########################################################################### class QListEditor(QBaseDictionaryEditor): @@ -395,7 +395,7 @@ class QListEditor(QBaseDictionaryEditor): return self.data -############################################################################### +# ########################################################################### def prepare(): diff --git a/lib/taurus/qt/qtgui/table/qlogtable.py b/lib/taurus/qt/qtgui/table/qlogtable.py index 062e0f8b..198790f0 100644 --- a/lib/taurus/qt/qtgui/table/qlogtable.py +++ b/lib/taurus/qt/qtgui/table/qlogtable.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides Qt table widgets which display logging messages from the python :mod:`logging` module """ diff --git a/lib/taurus/qt/qtgui/table/qtable.py b/lib/taurus/qt/qtgui/table/qtable.py index 6f38614c..5c322b63 100644 --- a/lib/taurus/qt/qtgui/table/qtable.py +++ b/lib/taurus/qt/qtgui/table/qtable.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides base table widget """ diff --git a/lib/taurus/qt/qtgui/table/taurusdbtable.py b/lib/taurus/qt/qtgui/table/taurusdbtable.py index 26b102db..e9e3c230 100644 --- a/lib/taurus/qt/qtgui/table/taurusdbtable.py +++ b/lib/taurus/qt/qtgui/table/taurusdbtable.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a base widget that can be used to display a taurus model in a table widget diff --git a/lib/taurus/qt/qtgui/table/taurusdevicepropertytable.py b/lib/taurus/qt/qtgui/table/taurusdevicepropertytable.py index 48f48752..1a5a555c 100644 --- a/lib/taurus/qt/qtgui/table/taurusdevicepropertytable.py +++ b/lib/taurus/qt/qtgui/table/taurusdevicepropertytable.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ taurusdevicepropertytable.py: diff --git a/lib/taurus/qt/qtgui/table/taurusgrid.py b/lib/taurus/qt/qtgui/table/taurusgrid.py index af2410da..eda8948e 100644 --- a/lib/taurus/qt/qtgui/table/taurusgrid.py +++ b/lib/taurus/qt/qtgui/table/taurusgrid.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ taurusgrid.py: module containing the Taurus Widget: TaurusGrid @@ -416,7 +416,7 @@ class TaurusGrid(QtGui.QFrame, TaurusBaseWidget): # It was showing an annoying "True" in the widget # value = self.getShowText() or '' - # if self._setText: self._setText(value) ##It must be included + # if self._setText: self._setText(value) # It must be included # update tooltip self.setToolTip(self.getFormatedToolTip()) # It must be included @@ -578,7 +578,7 @@ class TaurusGrid(QtGui.QFrame, TaurusBaseWidget): def setRowLabels(self, rows): """The model can be initialized as a list of devices or hosts or ...""" - # self.setModelCheck(model) ##It must be included + # self.setModelCheck(model) # It must be included self.row_labels = self.parse_labels(str(rows)) try: self.rows = [r[0] for r in self.row_labels] @@ -600,7 +600,7 @@ class TaurusGrid(QtGui.QFrame, TaurusBaseWidget): def setColumnLabels(self, columns): """The model can be initialized as a list of devices or hosts or ...""" - # self.setModelCheck(model) ##It must be included + # self.setModelCheck(model) # It must be included self.column_labels = self.parse_labels(str(columns)) try: self.columns = [c[0] for c in self.column_labels] diff --git a/lib/taurus/qt/qtgui/table/taurustable.py b/lib/taurus/qt/qtgui/table/taurustable.py index f50200d0..a9d3efcb 100644 --- a/lib/taurus/qt/qtgui/table/taurustable.py +++ b/lib/taurus/qt/qtgui/table/taurustable.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a base widget that can be used to display a taurus model in a table widget diff --git a/lib/taurus/qt/qtgui/table/taurusvaluestable.py b/lib/taurus/qt/qtgui/table/taurusvaluestable.py index 91f92e76..e5c1bd82 100644 --- a/lib/taurus/qt/qtgui/table/taurusvaluestable.py +++ b/lib/taurus/qt/qtgui/table/taurusvaluestable.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### from taurus.external.qt import Qt from taurus.core.units import Quantity diff --git a/lib/taurus/qt/qtgui/taurusgui/PermanentCustomPanelsDlg.py b/lib/taurus/qt/qtgui/taurusgui/PermanentCustomPanelsDlg.py index cf6cb10a..244a1667 100644 --- a/lib/taurus/qt/qtgui/taurusgui/PermanentCustomPanelsDlg.py +++ b/lib/taurus/qt/qtgui/taurusgui/PermanentCustomPanelsDlg.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """ diff --git a/lib/taurus/qt/qtgui/taurusgui/__init__.py b/lib/taurus/qt/qtgui/taurusgui/__init__.py index 878dd9fc..18592465 100644 --- a/lib/taurus/qt/qtgui/taurusgui/__init__.py +++ b/lib/taurus/qt/qtgui/taurusgui/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """ This package provides TaurusGui, a generic framework for creating GUIs without diff --git a/lib/taurus/qt/qtgui/taurusgui/appsettingswizard.py b/lib/taurus/qt/qtgui/taurusgui/appsettingswizard.py index 1936c024..e8d27d74 100644 --- a/lib/taurus/qt/qtgui/taurusgui/appsettingswizard.py +++ b/lib/taurus/qt/qtgui/taurusgui/appsettingswizard.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """ This Wizard provide functionality for creating from scratch a configuration diff --git a/lib/taurus/qt/qtgui/taurusgui/conf/__init__.py b/lib/taurus/qt/qtgui/taurusgui/conf/__init__.py index 7ba570d7..c3d58f13 100644 --- a/lib/taurus/qt/qtgui/taurusgui/conf/__init__.py +++ b/lib/taurus/qt/qtgui/taurusgui/conf/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """This package provides configurations for specific GUIs based on TaurusGui """ diff --git a/lib/taurus/qt/qtgui/taurusgui/conf/gui_noconf.py b/lib/taurus/qt/qtgui/taurusgui/conf/gui_noconf.py index 1dd17e6b..eee5c2b1 100644 --- a/lib/taurus/qt/qtgui/taurusgui/conf/gui_noconf.py +++ b/lib/taurus/qt/qtgui/taurusgui/conf/gui_noconf.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """An example of usage of TaurusGui in which no configuration file is used (everything is done programmatically) diff --git a/lib/taurus/qt/qtgui/taurusgui/conf/gui_pureconf.py b/lib/taurus/qt/qtgui/taurusgui/conf/gui_pureconf.py index 5dddec9d..42f815f1 100644 --- a/lib/taurus/qt/qtgui/taurusgui/conf/gui_pureconf.py +++ b/lib/taurus/qt/qtgui/taurusgui/conf/gui_pureconf.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """An example of usage of TaurusGui in which the current file is a pure declarative configuration file that should be interpreted by the tarusgui diff --git a/lib/taurus/qt/qtgui/taurusgui/conf/gui_selfconf.py b/lib/taurus/qt/qtgui/taurusgui/conf/gui_selfconf.py index c561d409..5e78f745 100644 --- a/lib/taurus/qt/qtgui/taurusgui/conf/gui_selfconf.py +++ b/lib/taurus/qt/qtgui/taurusgui/conf/gui_selfconf.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """An example of usage of TaurusGui in which the specific GUI is set up both programmatically and using the same file as the configuration file. diff --git a/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_example01/__init__.py b/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_example01/__init__.py index 535ef117..1c50d2da 100644 --- a/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_example01/__init__.py +++ b/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_example01/__init__.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### from .config import * diff --git a/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_example01/config.py b/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_example01/config.py index 833493be..05454c93 100644 --- a/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_example01/config.py +++ b/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_example01/config.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """ configuration file for an example of how to construct a GUI based on TaurusGUI diff --git a/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_macrogui/__init__.py b/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_macrogui/__init__.py index 535ef117..1c50d2da 100644 --- a/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_macrogui/__init__.py +++ b/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_macrogui/__init__.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### from .config import * diff --git a/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_macrogui/config.py b/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_macrogui/config.py index 8e14786f..a6b2956c 100644 --- a/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_macrogui/config.py +++ b/lib/taurus/qt/qtgui/taurusgui/conf/tgconf_macrogui/config.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """ configuration file for an example of how to construct a GUI based on TaurusGUI diff --git a/lib/taurus/qt/qtgui/taurusgui/paneldescriptionwizard.py b/lib/taurus/qt/qtgui/taurusgui/paneldescriptionwizard.py index 8a3d2a30..1b09580c 100644 --- a/lib/taurus/qt/qtgui/taurusgui/paneldescriptionwizard.py +++ b/lib/taurus/qt/qtgui/taurusgui/paneldescriptionwizard.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """ paneldescriptionwizard.py: @@ -633,8 +633,6 @@ class PanelDescriptionWizard(Qt.QWizard, TaurusBaseWidget): gui = parent if gui is not None: self._gui = weakref.proxy(gui) - ###self.setOption(self.HaveFinishButtonOnEarlyPages, True) - # self.namePG = NamePage() self.widgetPG = WidgetPage(extraWidgets=extraWidgets) self.advSettingsPG = AdvSettingsPage() diff --git a/lib/taurus/qt/qtgui/taurusgui/taurusgui.py b/lib/taurus/qt/qtgui/taurusgui/taurusgui.py index 77e1f404..85d4974f 100644 --- a/lib/taurus/qt/qtgui/taurusgui/taurusgui.py +++ b/lib/taurus/qt/qtgui/taurusgui/taurusgui.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """This package provides the TaurusGui class """ @@ -134,8 +134,8 @@ class DockWidgetPanel(Qt.QDockWidget, TaurusBaseWidget): self.setAllowedAreas(Qt.Qt.TopDockWidgetArea) self.setWidget(widget) - # self._widget = self.widget() #keep a pointer that may change if the - # widget changes + # self._widget = self.widget() # keep a pointer that may change if the + # widget changes name = str(name) self.setWindowTitle(name) self.setObjectName(name) @@ -1439,7 +1439,7 @@ class TaurusGui(TaurusMainWindow): icon=Qt.QIcon.fromTheme("help-browser"), ) - ### SARDANA MACRO STUFF ON + # SARDANA MACRO STUFF ON def _loadSardanaOptions(self, conf, xmlroot): """configure macro infrastructure""" ms = self._loadMacroServerName(conf, xmlroot) @@ -1521,7 +1521,7 @@ class TaurusGui(TaurusMainWindow): pool_instruments = [] return pool_instruments - ### SARDANA MACRO STUFF OFF + # SARDANA MACRO STUFF OFF def _loadSynoptic(self, conf, xmlroot): # Synoptics diff --git a/lib/taurus/qt/qtgui/taurusgui/test/__init__.py b/lib/taurus/qt/qtgui/taurusgui/test/__init__.py index cedab573..d111f89f 100644 --- a/lib/taurus/qt/qtgui/taurusgui/test/__init__.py +++ b/lib/taurus/qt/qtgui/taurusgui/test/__init__.py @@ -1,24 +1,24 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### diff --git a/lib/taurus/qt/qtgui/taurusgui/utils.py b/lib/taurus/qt/qtgui/taurusgui/utils.py index 1b18c193..70bac815 100644 --- a/lib/taurus/qt/qtgui/taurusgui/utils.py +++ b/lib/taurus/qt/qtgui/taurusgui/utils.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """This configuration contains base modules and classes that may be used by specific TaurusGui-based GUIs diff --git a/lib/taurus/qt/qtgui/test/__init__.py b/lib/taurus/qt/qtgui/test/__init__.py index 6d0ad1cf..c32cd24c 100644 --- a/lib/taurus/qt/qtgui/test/__init__.py +++ b/lib/taurus/qt/qtgui/test/__init__.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### from .base import BaseWidgetTestCase, GenericWidgetTestCase diff --git a/lib/taurus/qt/qtgui/test/base.py b/lib/taurus/qt/qtgui/test/base.py index d6b6be63..b164bf48 100644 --- a/lib/taurus/qt/qtgui/test/base.py +++ b/lib/taurus/qt/qtgui/test/base.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Utilities for creating generic tests for Taurus widgets diff --git a/lib/taurus/qt/qtgui/test/test_widgets_general.py b/lib/taurus/qt/qtgui/test/test_widgets_general.py index bdf4e308..21c82e20 100644 --- a/lib/taurus/qt/qtgui/test/test_widgets_general.py +++ b/lib/taurus/qt/qtgui/test/test_widgets_general.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Generic tests (instantiation, set models, etc) for several widgets diff --git a/lib/taurus/qt/qtgui/tree/__init__.py b/lib/taurus/qt/qtgui/tree/__init__.py index c7a3d834..c662513f 100644 --- a/lib/taurus/qt/qtgui/tree/__init__.py +++ b/lib/taurus/qt/qtgui/tree/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package provides taurus Qt tree widgets """ diff --git a/lib/taurus/qt/qtgui/tree/qtree.py b/lib/taurus/qt/qtgui/tree/qtree.py index b81b5371..f908be13 100644 --- a/lib/taurus/qt/qtgui/tree/qtree.py +++ b/lib/taurus/qt/qtgui/tree/qtree.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides base tree widget """ diff --git a/lib/taurus/qt/qtgui/tree/taurusdbtree.py b/lib/taurus/qt/qtgui/tree/taurusdbtree.py index 7980ea3f..f5c3e6bf 100644 --- a/lib/taurus/qt/qtgui/tree/taurusdbtree.py +++ b/lib/taurus/qt/qtgui/tree/taurusdbtree.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides widgets that display the database in a tree format """ diff --git a/lib/taurus/qt/qtgui/tree/taurustree.py b/lib/taurus/qt/qtgui/tree/taurustree.py index 8d95075e..9a41eae0 100644 --- a/lib/taurus/qt/qtgui/tree/taurustree.py +++ b/lib/taurus/qt/qtgui/tree/taurustree.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides a base widget that can be used to display a taurus model in a tree widget diff --git a/lib/taurus/qt/qtgui/util/__init__.py b/lib/taurus/qt/qtgui/util/__init__.py index da4a7abf..f50f44ac 100644 --- a/lib/taurus/qt/qtgui/util/__init__.py +++ b/lib/taurus/qt/qtgui/util/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package provides a set of taurus wiget utilities like color management, configuration, actions. diff --git a/lib/taurus/qt/qtgui/util/qdraganddropdebug.py b/lib/taurus/qt/qtgui/util/qdraganddropdebug.py index 0c2a1dd4..012ecec2 100644 --- a/lib/taurus/qt/qtgui/util/qdraganddropdebug.py +++ b/lib/taurus/qt/qtgui/util/qdraganddropdebug.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### __all__ = ["DropDebugger"] __docformat__ = "restructuredtext" diff --git a/lib/taurus/qt/qtgui/util/taurusaction.py b/lib/taurus/qt/qtgui/util/taurusaction.py index cd01c455..b8bee0be 100644 --- a/lib/taurus/qt/qtgui/util/taurusaction.py +++ b/lib/taurus/qt/qtgui/util/taurusaction.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module is designed to provide a library of taurus Qt actions """ diff --git a/lib/taurus/qt/qtgui/util/taurusactionfactory.py b/lib/taurus/qt/qtgui/util/taurusactionfactory.py index 1d092a3b..afd267a6 100644 --- a/lib/taurus/qt/qtgui/util/taurusactionfactory.py +++ b/lib/taurus/qt/qtgui/util/taurusactionfactory.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module is designed to provide a factory class for taurus Qt actions """ diff --git a/lib/taurus/qt/qtgui/util/tauruscolor.py b/lib/taurus/qt/qtgui/util/tauruscolor.py index a632e298..b9f34a19 100644 --- a/lib/taurus/qt/qtgui/util/tauruscolor.py +++ b/lib/taurus/qt/qtgui/util/tauruscolor.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides Qt color management for taurus """ diff --git a/lib/taurus/qt/qtgui/util/taurusropepatch.py b/lib/taurus/qt/qtgui/util/taurusropepatch.py index 3451fb6b..a9b844af 100644 --- a/lib/taurus/qt/qtgui/util/taurusropepatch.py +++ b/lib/taurus/qt/qtgui/util/taurusropepatch.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """[DEPRECATED] Rope patch for better performance. Based on spyder.rope_patch diff --git a/lib/taurus/qt/qtgui/util/taurusscreenshot.py b/lib/taurus/qt/qtgui/util/taurusscreenshot.py index f7a95db5..0ba425a2 100644 --- a/lib/taurus/qt/qtgui/util/taurusscreenshot.py +++ b/lib/taurus/qt/qtgui/util/taurusscreenshot.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides Qt color management for taurus """ diff --git a/lib/taurus/qt/qtgui/util/tauruswidgetfactory.py b/lib/taurus/qt/qtgui/util/tauruswidgetfactory.py index f6046d6d..ead87b3f 100644 --- a/lib/taurus/qt/qtgui/util/tauruswidgetfactory.py +++ b/lib/taurus/qt/qtgui/util/tauruswidgetfactory.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ tauruswidgetfactory.py: diff --git a/lib/taurus/qt/qtgui/util/tauruswidgettree.py b/lib/taurus/qt/qtgui/util/tauruswidgettree.py index fc1161cc..37bcbbed 100644 --- a/lib/taurus/qt/qtgui/util/tauruswidgettree.py +++ b/lib/taurus/qt/qtgui/util/tauruswidgettree.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ """ diff --git a/lib/taurus/qt/qtgui/util/test/__init__.py b/lib/taurus/qt/qtgui/util/test/__init__.py index fb8468e2..f3961b4a 100644 --- a/lib/taurus/qt/qtgui/util/test/__init__.py +++ b/lib/taurus/qt/qtgui/util/test/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """tests for taurus.qt.qtgui.util """ diff --git a/lib/taurus/qt/qtgui/util/test/test_ui/__init__.py b/lib/taurus/qt/qtgui/util/test/test_ui/__init__.py index bed30f62..54fffcbc 100644 --- a/lib/taurus/qt/qtgui/util/test/test_ui/__init__.py +++ b/lib/taurus/qt/qtgui/util/test/test_ui/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This package provides a set of taurus wiget utilities like color management, configuration, actions. diff --git a/lib/taurus/qt/qtgui/util/test/test_ui/mywidget3/__init__.py b/lib/taurus/qt/qtgui/util/test/test_ui/mywidget3/__init__.py index ec0a8d92..09da4adb 100644 --- a/lib/taurus/qt/qtgui/util/test/test_ui/mywidget3/__init__.py +++ b/lib/taurus/qt/qtgui/util/test/test_ui/mywidget3/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### from taurus.external.qt import Qt from taurus.qt.qtgui.util.ui import UILoadable diff --git a/lib/taurus/qt/qtgui/util/test/test_ui/test_ui.py b/lib/taurus/qt/qtgui/util/test/test_ui/test_ui.py index 81b16fd0..32b7cc2b 100644 --- a/lib/taurus/qt/qtgui/util/test/test_ui/test_ui.py +++ b/lib/taurus/qt/qtgui/util/test/test_ui/test_ui.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Unit tests for UILoadable decorator """ diff --git a/lib/taurus/qt/qtgui/util/ui.py b/lib/taurus/qt/qtgui/util/ui.py index 60855fd5..81859968 100644 --- a/lib/taurus/qt/qtgui/util/ui.py +++ b/lib/taurus/qt/qtgui/util/ui.py @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """utilities to load ui files for widgets """ diff --git a/lib/taurus/qt/qtgui/util/validator.py b/lib/taurus/qt/qtgui/util/validator.py index 3dfc91c6..6fbfe9da 100644 --- a/lib/taurus/qt/qtgui/util/validator.py +++ b/lib/taurus/qt/qtgui/util/validator.py @@ -1,25 +1,25 @@ -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### __all__ = ["PintValidator"] diff --git a/lib/taurus/tauruscustomsettings.py b/lib/taurus/tauruscustomsettings.py index d95bea78..0164c62b 100644 --- a/lib/taurus/tauruscustomsettings.py +++ b/lib/taurus/tauruscustomsettings.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ This module contains some Taurus-wide default configurations. diff --git a/lib/taurus/test/__init__.py b/lib/taurus/test/__init__.py index 311e82c0..d3a24b1e 100644 --- a/lib/taurus/test/__init__.py +++ b/lib/taurus/test/__init__.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """ Taurus provides a framework for testing. diff --git a/lib/taurus/test/base.py b/lib/taurus/test/base.py index b3601bc7..4101c3ea 100644 --- a/lib/taurus/test/base.py +++ b/lib/taurus/test/base.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides basic utilities for usage in any test """ diff --git a/lib/taurus/test/fuzzytest.py b/lib/taurus/test/fuzzytest.py index e19b90a2..a23beccc 100644 --- a/lib/taurus/test/fuzzytest.py +++ b/lib/taurus/test/fuzzytest.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Utility functions to deal with non-ideal (fuzzy) tests """ diff --git a/lib/taurus/test/moduleexplorer.py b/lib/taurus/test/moduleexplorer.py index 43f8a592..0a8ee673 100644 --- a/lib/taurus/test/moduleexplorer.py +++ b/lib/taurus/test/moduleexplorer.py @@ -1,28 +1,28 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """Utility code for returning info about a module """ diff --git a/lib/taurus/test/pytest.py b/lib/taurus/test/pytest.py index a88c7fbf..bef53460 100644 --- a/lib/taurus/test/pytest.py +++ b/lib/taurus/test/pytest.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Common tools and fixtures for using with taurus and pytest """ diff --git a/lib/taurus/test/resource.py b/lib/taurus/test/resource.py index 9ba8c617..c90eb24f 100644 --- a/lib/taurus/test/resource.py +++ b/lib/taurus/test/resource.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -########################################################################### +# +# ########################################################################### """Utility code for working with test resources """ diff --git a/lib/taurus/test/skip.py b/lib/taurus/test/skip.py index 012e73e5..b3775c2c 100644 --- a/lib/taurus/test/skip.py +++ b/lib/taurus/test/skip.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """This module provides utilities for skipping certain sets of tests """ diff --git a/lib/taurus/test/test_import.py b/lib/taurus/test/test_import.py index 20ec8190..823421a2 100644 --- a/lib/taurus/test/test_import.py +++ b/lib/taurus/test/test_import.py @@ -1,26 +1,26 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### """Taurus import tests diff --git a/lib/taurus/test/test_pytest.py b/lib/taurus/test/test_pytest.py index 8d236551..03edd93d 100644 --- a/lib/taurus/test/test_pytest.py +++ b/lib/taurus/test/test_pytest.py @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################# -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################# +# +# ########################################################################### from taurus.core.util.log import deprecated import pytest @@ -1,27 +1,27 @@ #!/usr/bin/env python -############################################################################## -## +# ########################################################################### +# # This file is part of Taurus -## +# # http://taurus-scada.org -## +# # Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain -## +# # Taurus 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. -## +# # Taurus 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 Taurus. If not, see <http://www.gnu.org/licenses/>. -## -############################################################################## +# +# ########################################################################### import sys from setuptools import setup, find_packages |