Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit 16b45ff

Browse files
committed
remove redundant code
1 parent 6adcfc9 commit 16b45ff

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

gsoc/models.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ def gen_uuid_str():
5757
return str(uuid.uuid4())
5858

5959

60-
<<<<<<< HEAD
6160
def validate_date(value):
6261
gsoc_year = GsocYear.objects.latest('gsoc_year')
6362
try:
@@ -68,7 +67,8 @@ def validate_date(value):
6867
raise ValidationError('Cannot add new year untl GSoC ends!')
6968
except GsocEndDate.DoesNotExist:
7069
pass
71-
=======
70+
71+
7272
def getCreds():
7373
creds = None
7474
if os.path.exists(os.path.join(BASE_DIR, 'token.json')):
@@ -88,7 +88,6 @@ def getCreds():
8888
with open(os.path.join(BASE_DIR, 'token.json'), 'w') as token:
8989
token.write(creds.to_json())
9090
return creds
91-
>>>>>>> 80d1d7187370d2b841c24a71512a4cfd53e813d5
9291

9392

9493
# Patching

0 commit comments

Comments
 (0)