Added 2 new patch files
- Legacy-Id: 14676
This commit is contained in:
parent
28d64fe593
commit
0b46cbb52d
18
patch/add-patch-already-patched-flag.patch
Normal file
18
patch/add-patch-already-patched-flag.patch
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
--- patch.py.old 2018-02-20 14:54:24.400212946 -0800
|
||||||
|
+++ patch.py 2018-02-20 14:55:29.681760580 -0800
|
||||||
|
@@ -263,6 +263,7 @@
|
||||||
|
|
||||||
|
self.errors = 0 # fatal parsing errors
|
||||||
|
self.warnings = 0 # non-critical warnings
|
||||||
|
+ self.already_patched = False
|
||||||
|
# --- /API ---
|
||||||
|
|
||||||
|
if stream:
|
||||||
|
@@ -933,6 +934,7 @@
|
||||||
|
if validhunks < len(p.hunks):
|
||||||
|
if self._match_file_hunks(filename, p.hunks):
|
||||||
|
warning("already patched %s" % filename)
|
||||||
|
+ self.already_patched = True
|
||||||
|
else:
|
||||||
|
warning("source file is different - %s" % filename)
|
||||||
|
errors += 1
|
11
patch/fix-faker-provider-ro-RO-string.patch
Normal file
11
patch/fix-faker-provider-ro-RO-string.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- faker/providers/person/ro_RO/__init__.py.old 2018-02-16 04:57:48.915570971 -0800
|
||||||
|
+++ faker/providers/person/ro_RO/__init__.py 2018-02-16 04:57:51.243625893 -0800
|
||||||
|
@@ -104,6 +104,8 @@
|
||||||
|
'Vasilică', 'Veniamin', 'Vicențiu', 'Victor', 'Vincențiu', 'Viorel', 'Visarion', 'Vlad', 'Vladimir', 'Vlaicu',
|
||||||
|
'Voicu', 'Zamfir', 'Zeno')
|
||||||
|
|
||||||
|
+ first_names = first_names_male + first_names_female
|
||||||
|
+
|
||||||
|
# sources: https://ro.wikipedia.org/wiki/Lista_celor_mai_uzuale_nume_de_familie#Rom%C3%A2nia
|
||||||
|
last_names = (
|
||||||
|
'Aanei', 'Ababei', 'Albu', 'Ardelean', 'Barbu', 'Cristea', 'Diaconescu', 'Diaconu', 'Dima', 'Dinu', 'Dobre',
|
Loading…
Reference in a new issue