Make syntax of relative imports Python3 compliant

References:

- PEP 0328
- http://docs.python.org/release/3.0.1/whatsnew/3.0.html
This commit is contained in:
Alessio Treglia 2012-03-09 09:06:08 +01:00
parent fb89fc5aab
commit ce9aaa17c2
6 changed files with 16 additions and 16 deletions

View File

@ -22,10 +22,10 @@ _gettext_domain = 'laditools'
get_version_string = lambda: '.'.join((str(comp)) for comp in __version__)
from config import LadiConfiguration
from a2j import A2jController
from ladish import LadishProxy, LadishStatusType, LadishProxyError, check_ladish
from jack import JackController, JackConfigProxy, JackConfigParameter
from .config import LadiConfiguration
from .a2j import A2jController
from .ladish import LadishProxy, LadishStatusType, LadishProxyError, check_ladish
from .jack import JackController, JackConfigProxy, JackConfigParameter
from . import gtk

View File

@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from controller import LadiController
from .controller import LadiController
name_base = 'org.gna.home.a2jmidid'
iface_name = name_base + '.control'

View File

@ -15,8 +15,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from a2jmenu import A2jMenu
from ladimenu import LadiManager
from utils import find_data_file
from .a2jmenu import A2jMenu
from .ladimenu import LadiManager
from .utils import find_data_file
__all__ = ["A2jMenu", "LadiManager", "find_data_file"]

View File

@ -23,12 +23,12 @@ import sys
import subprocess
from gi.repository import Gtk
from gi.repository import GObject
from laditools import _gettext_domain
from laditools import LadiConfiguration
from laditools import JackConfigProxy
from laditools import JackController
from laditools import A2jController
from laditools import LadishProxy
from .. import _gettext_domain
from .. import LadiConfiguration
from .. import JackConfigProxy
from .. import JackController
from .. import A2jController
from .. import LadishProxy
# Default launcher menu :
menu_default = [{"Logs": "ladilog"}]

View File

@ -19,7 +19,7 @@
import sys
import dbus
from controller import LadiController
from .controller import LadiController
name_base = 'org.jackaudio'
ctrl_iface_name = name_base + '.JackControl'

View File

@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from enum import Enum
from controller import LadiController
from .controller import LadiController
import dbus
name_base = 'org.ladish'