Skip to content

Commit 0b46cbb

Browse files
committed
Added 2 new patch files
- Legacy-Id: 14676
1 parent 28d64fe commit 0b46cbb

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
--- patch.py.old 2018-02-20 14:54:24.400212946 -0800
2+
+++ patch.py 2018-02-20 14:55:29.681760580 -0800
3+
@@ -263,6 +263,7 @@
4+
5+
self.errors = 0 # fatal parsing errors
6+
self.warnings = 0 # non-critical warnings
7+
+ self.already_patched = False
8+
# --- /API ---
9+
10+
if stream:
11+
@@ -933,6 +934,7 @@
12+
if validhunks < len(p.hunks):
13+
if self._match_file_hunks(filename, p.hunks):
14+
warning("already patched %s" % filename)
15+
+ self.already_patched = True
16+
else:
17+
warning("source file is different - %s" % filename)
18+
errors += 1
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- faker/providers/person/ro_RO/__init__.py.old 2018-02-16 04:57:48.915570971 -0800
2+
+++ faker/providers/person/ro_RO/__init__.py 2018-02-16 04:57:51.243625893 -0800
3+
@@ -104,6 +104,8 @@
4+
'Vasilică', 'Veniamin', 'Vicențiu', 'Victor', 'Vincențiu', 'Viorel', 'Visarion', 'Vlad', 'Vladimir', 'Vlaicu',
5+
'Voicu', 'Zamfir', 'Zeno')
6+
7+
+ first_names = first_names_male + first_names_female
8+
+
9+
# sources: https://ro.wikipedia.org/wiki/Lista_celor_mai_uzuale_nume_de_familie#Rom%C3%A2nia
10+
last_names = (
11+
'Aanei', 'Ababei', 'Albu', 'Ardelean', 'Barbu', 'Cristea', 'Diaconescu', 'Diaconu', 'Dima', 'Dinu', 'Dobre',

0 commit comments

Comments
 (0)