summary refs log blame commit diff stats
path: root/.flake8
blob: f5072c08505c29b56e4b6cf72b08dfff8f5ce30f (plain) (tree)
generated by cgit-pink 1.4.1-2-gfad0 (git 2.36.2.497.gbbea4dcf42) at 2024-12-16 20:37:33 +0000 ass="o">.Actions._get_macros # Define a new macro function import time def get_macros_with_date(self): macros = old_get_macros(self) macros['date'] = time.strftime('%m/%d/%Y') return macros # Overwrite the old one ranger.core.actions.Actions._get_macros = get_macros_with_date