Skip to content

Commit

Permalink
import prefix explicitly contains dots
Browse files Browse the repository at this point in the history
  • Loading branch information
keirf committed Sep 6, 2024
1 parent f205a42 commit b60db66
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion src/greaseweazle/codec/codec.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def full_prefix(self) -> str:
if p.prefix:
s.insert(0, p.prefix)
p = p.parent
return '.'.join(s) + '.' if s else ''
return ''.join(s)


# Import the TrackDef subclasses
Expand Down
56 changes: 28 additions & 28 deletions src/greaseweazle/data/diskdefs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,31 +42,31 @@
# Sub-files can be imported by "import [<prefix>] "<file>"". Any definition
# names from the imported file will be prefixed by the optional <prefix>.

import acorn "diskdefs_acorn.cfg"
import akai "diskdefs_akai.cfg"
import amiga "diskdefs_amiga.cfg"
import apple2 "diskdefs_apple2.cfg"
import atari "diskdefs_atari.cfg"
import atarist "diskdefs_atarist.cfg"
import coco "diskdefs_coco.cfg"
import commodore "diskdefs_commodore.cfg"
import dec "diskdefs_dec.cfg"
import dragon "diskdefs_dragon.cfg"
import ensoniq "diskdefs_ensoniq.cfg"
import epson "diskdefs_epson.cfg"
import gem "diskdefs_gem.cfg"
import hp "diskdefs_hp.cfg"
import ibm "diskdefs_ibm.cfg"
import mac "diskdefs_mac.cfg"
import mm1 "diskdefs_mm1.cfg"
import msx "diskdefs_msx.cfg"
import northstar "diskdefs_northstar.cfg"
import occ1 "diskdefs_occ1.cfg"
import olivetti "diskdefs_olivetti.cfg"
import pc98 "diskdefs_pc98.cfg"
import raw "diskdefs_raw.cfg"
import sci "diskdefs_sci.cfg"
import sega "diskdefs_sega.cfg"
import thomson "diskdefs_thomson.cfg"
import tsc "diskdefs_tsc.cfg"
import zx "diskdefs_zx.cfg"
import acorn. "diskdefs_acorn.cfg"
import akai. "diskdefs_akai.cfg"
import amiga. "diskdefs_amiga.cfg"
import apple2. "diskdefs_apple2.cfg"
import atari. "diskdefs_atari.cfg"
import atarist. "diskdefs_atarist.cfg"
import coco. "diskdefs_coco.cfg"
import commodore. "diskdefs_commodore.cfg"
import dec. "diskdefs_dec.cfg"
import dragon. "diskdefs_dragon.cfg"
import ensoniq. "diskdefs_ensoniq.cfg"
import epson. "diskdefs_epson.cfg"
import gem. "diskdefs_gem.cfg"
import hp. "diskdefs_hp.cfg"
import ibm. "diskdefs_ibm.cfg"
import mac. "diskdefs_mac.cfg"
import mm1. "diskdefs_mm1.cfg"
import msx. "diskdefs_msx.cfg"
import northstar. "diskdefs_northstar.cfg"
import occ1. "diskdefs_occ1.cfg"
import olivetti. "diskdefs_olivetti.cfg"
import pc98. "diskdefs_pc98.cfg"
import raw. "diskdefs_raw.cfg"
import sci. "diskdefs_sci.cfg"
import sega. "diskdefs_sega.cfg"
import thomson. "diskdefs_thomson.cfg"
import tsc. "diskdefs_tsc.cfg"
import zx. "diskdefs_zx.cfg"

0 comments on commit b60db66

Please sign in to comment.