mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Remove some unused imports.
This commit is contained in:
parent
d9ab7b2e4f
commit
fdf09e8189
2 changed files with 1 additions and 7 deletions
pysollib
|
@ -24,14 +24,12 @@
|
||||||
__all__ = ['PysolMenubarTk']
|
__all__ = ['PysolMenubarTk']
|
||||||
|
|
||||||
# imports
|
# imports
|
||||||
import math, os, sys, re
|
|
||||||
import Tkinter
|
import Tkinter
|
||||||
import ttk
|
import ttk
|
||||||
import traceback
|
|
||||||
|
|
||||||
# PySol imports
|
# PySol imports
|
||||||
from pysollib.mygettext import _, n_
|
from pysollib.mygettext import _, n_
|
||||||
from pysollib.mfxutil import Struct, kwdefault
|
from pysollib.mfxutil import kwdefault
|
||||||
from pysollib.mfxutil import Image, USE_PIL
|
from pysollib.mfxutil import Image, USE_PIL
|
||||||
from pysollib.util import CARDSET
|
from pysollib.util import CARDSET
|
||||||
from pysollib.settings import TITLE, WIN_SYSTEM
|
from pysollib.settings import TITLE, WIN_SYSTEM
|
||||||
|
|
|
@ -24,13 +24,10 @@
|
||||||
__all__ = ['PysolMenubarTk']
|
__all__ = ['PysolMenubarTk']
|
||||||
|
|
||||||
# imports
|
# imports
|
||||||
import math, os, sys, re
|
|
||||||
import Tkinter
|
import Tkinter
|
||||||
import traceback
|
|
||||||
|
|
||||||
# PySol imports
|
# PySol imports
|
||||||
from pysollib.mygettext import _, n_
|
from pysollib.mygettext import _, n_
|
||||||
from pysollib.mfxutil import Struct, kwdefault
|
|
||||||
from pysollib.mfxutil import Image, USE_PIL
|
from pysollib.mfxutil import Image, USE_PIL
|
||||||
from pysollib.util import CARDSET
|
from pysollib.util import CARDSET
|
||||||
from pysollib.settings import TITLE, WIN_SYSTEM
|
from pysollib.settings import TITLE, WIN_SYSTEM
|
||||||
|
@ -89,7 +86,6 @@ class PysolMenubarTk(PysolMenubarTkCommon):
|
||||||
if self._cancelDrag(break_pause=False): return
|
if self._cancelDrag(break_pause=False): return
|
||||||
##strings, default = ("&OK", "&Load", "&Cancel"), 0
|
##strings, default = ("&OK", "&Load", "&Cancel"), 0
|
||||||
strings, default = (None, _("&Load"), _("&Cancel"),), 1
|
strings, default = (None, _("&Load"), _("&Cancel"),), 1
|
||||||
##if os.name == "posix":
|
|
||||||
strings, default = (None, _("&Load"), _("&Cancel"), _("&Info..."),), 1
|
strings, default = (None, _("&Load"), _("&Cancel"), _("&Info..."),), 1
|
||||||
t = CARDSET
|
t = CARDSET
|
||||||
key = self.app.nextgame.cardset.index
|
key = self.app.nextgame.cardset.index
|
||||||
|
|
Loading…
Add table
Reference in a new issue