Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Make imports absolute
Browse files Browse the repository at this point in the history
Python 3 turns off implicit relative imports.
  • Loading branch information
mat8913 committed Mar 31, 2020
1 parent 82c77f0 commit 929b75a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion fah/FAHControl.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
import webbrowser
import shlex
import subprocess
from wraplabel import WrapLabel
from fah.wraplabel import WrapLabel

# OSX integration
if sys.platform == 'darwin':
Expand Down
20 changes: 10 additions & 10 deletions fah/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@

# fah

import db
import util
import fah.db
import fah.util

from Version import *
from Icon import *
from SlotConfig import *
from ClientConfig import *
from Connection import *
from Client import *
from WidgetMap import *
from FAHControl import *
from fah.Version import *
from fah.Icon import *
from fah.SlotConfig import *
from fah.ClientConfig import *
from fah.Connection import *
from fah.Client import *
from fah.WidgetMap import *
from fah.FAHControl import *
6 changes: 3 additions & 3 deletions fah/db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@

# fah.db

from Column import *
from Table import *
from Database import *
from fah.db.Column import *
from fah.db.Table import *
from fah.db.Database import *
8 changes: 4 additions & 4 deletions fah/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
import os
import gtk

from SingleApp import *
from EntryValidator import *
from PasswordValidator import *
from OrderedDict import *
from fah.util.SingleApp import *
from fah.util.EntryValidator import *
from fah.util.PasswordValidator import *
from fah.util.OrderedDict import *


def parse_bool(x):
Expand Down

0 comments on commit 929b75a

Please sign in to comment.