Skip to content

Commit

Permalink
Python 3 imports: more relative imports. Re nvaccess#7105.
Browse files Browse the repository at this point in the history
  • Loading branch information
josephsl committed May 24, 2019
1 parent 1c663cd commit bd47b44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/NVDAObjects/IAccessible/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def findOverlayClasses(self,clsList):
from . import mscandui
mscandui.findExtraOverlayClasses(self,clsList)
elif windowClassName=="GeckoPluginWindow" and self.event_objectID==0 and self.IAccessibleChildID==0:
from mozilla import GeckoPluginWindowRoot
from .mozilla import GeckoPluginWindowRoot
clsList.append(GeckoPluginWindowRoot)
maybeFlash = False
if ((windowClassName in ("MozillaWindowClass", "GeckoPluginWindow") and not isinstance(self.IAccessibleObject, IAccessibleHandler.IAccessible2))
Expand Down
2 changes: 1 addition & 1 deletion source/gui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def onConfigProfilesCommand(self, evt):
if isInMessageBox:
return
self.prePopup()
from configProfiles import ProfilesDialog
from .configProfiles import ProfilesDialog
ProfilesDialog(gui.mainFrame).Show()
self.postPopup()

Expand Down
2 changes: 1 addition & 1 deletion source/gui/settingsDialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
import weakref
import time
import keyLabels
from dpiScalingHelper import DpiScalingHelperMixin
from .dpiScalingHelper import DpiScalingHelperMixin

class SettingsDialog(with_metaclass(guiHelper.SIPABCMeta, wx.Dialog, DpiScalingHelperMixin)):
"""A settings dialog.
Expand Down

0 comments on commit bd47b44

Please sign in to comment.