Skip to content

Commit 63dd460

Browse files
committed
extract_action_strings: Don't use datetime
The datetime code since the last commmit is no longer compatible with older distros (Mint 21.x). It's also not needed, the info is in the git tree.
1 parent c0f28f3 commit 63dd460

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

data/nemo-actions/extract_action_strings

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import os
44
import glob
5-
import datetime
65
import sys
76
import codecs
87
from gi.repository import GLib
@@ -16,14 +15,13 @@ class Main:
1615
else:
1716
action_files = glob.glob(os.path.join(os.getcwd(), "*.nemo_action.in"))
1817
if len(action_files) > 0:
19-
dt = datetime.datetime
2018
outstring = """
2119
'''
2220
This is a dummy file for translating Nemo Action files
2321
24-
It was generated by the extract_action_strings script on %s UTC.
22+
It was generated by the extract_action_strings script.
2523
'''
26-
""" % (dt.now(datetime.UTC))
24+
"""
2725
outstring += "\n"
2826
for fn in action_files:
2927
keyfile = GLib.KeyFile.new()

0 commit comments

Comments
 (0)