This repository was archived by the owner on May 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -907,7 +907,7 @@ def configure(self):
907907 i += 1
908908 text = "\n " .join (lines )
909909 text = re .sub (r"^(D|M [0-7]+ [0-9a-f]+) \.(git|weirdal_)ignore$" ,
910- "#\g<0>" , text , flags = re .MULTILINE )
910+ r "#\g<0>" , text , flags = re .MULTILINE )
911911 #fs.Path("/tmp/new").file_write(text)
912912 self .git (["fast-import" , "--force" ], input = text )
913913 self .git (["reflog" , "expire" , "--all" , "--expire=now" ])
Original file line number Diff line number Diff line change 184184 "match" : ("/etc/redhat-release" , r"release 7\." ),
185185 "init" : [ ("command -v fakeroot > /dev/null" ,
186186 "set -e; "
187- "if ! grep -Eq '\[epel\]' /etc/yum.conf /etc/yum.repos.d/*; then "
187+ r "if ! grep -Eq '\[epel\]' /etc/yum.conf /etc/yum.repos.d/*; then "
188188 "yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm; "
189189 "yum install -y fakeroot; "
190190 "yum remove -y epel-release; "
199199 "match" : ("/etc/redhat-release" , r"release (?![0-7]\.)" ),
200200 "init" : [ ("command -v fakeroot > /dev/null" ,
201201 "set -e; "
202- "if ! grep -Eq '\[epel\]' /etc/yum.conf /etc/yum.repos.d/*; then "
202+ r "if ! grep -Eq '\[epel\]' /etc/yum.conf /etc/yum.repos.d/*; then "
203203 # Macro %rhel from *-release* RPM, e.g. redhat-release-server
204204 # or centos-linux-release; thus reliable.
205205 "dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E %rhel).noarch.rpm; "
You can’t perform that action at this time.
0 commit comments