Rename NetflixSession.parse_season_entry() to _parse_season_entry()...
authorTilman Sauerbeck <tilman@code-monkey.de>
Sat, 12 Aug 2017 10:27:40 +0000 (12:27 +0200)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sat, 12 Aug 2017 10:27:40 +0000 (12:27 +0200)
... to indicate that this method is only used internally.

resources/lib/NetflixSession.py

index 3ba567f..a4c4874 100644 (file)
@@ -1093,10 +1093,10 @@ class NetflixSession:
 
         for season in raw_seasons['seasons']:
             if self._is_size_key(key=season) == False:
-                seasons.update(self.parse_season_entry(season=raw_seasons['seasons'][season], video=video, sorting=sorting))
+                seasons.update(self._parse_season_entry(season=raw_seasons['seasons'][season], video=video, sorting=sorting))
         return seasons
 
-    def parse_season_entry (self, season, video, sorting):
+    def _parse_season_entry (self, season, video, sorting):
         """Parse a season list entry e.g. rip out the parts we need
 
         Parameters