Skip to content

Commit

Permalink
[test-] deprecated does not add its globals
Browse files Browse the repository at this point in the history
  • Loading branch information
saulpw committed Sep 9, 2024
1 parent 21f4117 commit c12e3b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion visidata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def importFeatures():
vd.importSubmodules('visidata.features')
vd.importSubmodules('visidata.themes')

vd.importStar('visidata.deprecated')
import visidata.deprecated

import visidata.experimental # import nothing by default but make package accessible

Expand Down
2 changes: 0 additions & 2 deletions visidata/deprecated.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ def memo(vd, name, col, row):

vd.optalias('textwrap_cells', 'disp_wrap_max_lines', 3) # wordwrap text for multiline rows

vd.addGlobals(globals())

@deprecated('3.1', 'sheet.rowname(row)')
@visidata.TableSheet.api
def keystr(sheet, row):
Expand Down

0 comments on commit c12e3b0

Please sign in to comment.