Skip to content

Commit

Permalink
remove commented out lines of code
Browse files Browse the repository at this point in the history
  • Loading branch information
djbrown committed Oct 15, 2020
1 parent bdd91d9 commit d07b532
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/games/management/commands/import_games.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def import_game(self, game_row, league: League):
LOGGER.debug('SKIPPING Row (heading)')
return

# league_abbreviation = game_row[0].text
number = int(game_row[1].text)

if self.options['games'] and number not in self.options['games']:
Expand Down
1 change: 0 additions & 1 deletion src/players/management/commands/import_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ def import_scores(table, game: Game, team: Team):

player_number: str = row_data[0]
player_name: str = row_data[1]
# player_year_of_birth = row_data[2]

if not player_number and not player_name:
return
Expand Down
2 changes: 0 additions & 2 deletions src/teams/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ class Team(models.Model):
bhv_id = models.IntegerField(unique=True)
retirement = models.DateField(blank=True, null=True)

# logo = models.ImageField(upload_to=os.path.join(settings.MEDIA_ROOT, 'club-logos'))

class Meta:
unique_together = (('name', 'league'), ('short_name', 'league'))

Expand Down

0 comments on commit d07b532

Please sign in to comment.