Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python 3.12 warning fix & minor cleanup #18

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

hirdrac
Copy link
Contributor

@hirdrac hirdrac commented Nov 29, 2023

found after my fedora 39 upgrade (which included newer python)

fixes these warnings:
.../build/ramdisk.py:115: SyntaxWarning: invalid escape sequence '.'
c_filename = re.sub(".", "", c_filename)
.../build/ramdisk.py:156: SyntaxWarning: invalid escape sequence '.'
c_filename = re.sub(".", "
", c_filename)

fixes these warnings:
.../build/ramdisk.py:115: SyntaxWarning: invalid escape sequence '\.'
  c_filename = re.sub("\.", "_", c_filename)
.../build/ramdisk.py:156: SyntaxWarning: invalid escape sequence '\.'
  c_filename = re.sub("\.", "_", c_filename)
@goblinhack goblinhack merged commit a8d4b79 into goblinhack:master Nov 29, 2023
2 checks passed
@goblinhack
Copy link
Owner

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants