Guido Draheim avatar Guido Draheim committed ce8bc14

align the name

Comments (0)

Files changed (2)

src/dvbcronrecording/computer.py

 
 months_ahead = 3
     
-class TracCronRecordingPlanComputer(Component):
+class DvbCronRecordingPlanComputer(Component):
     """ it is a component but it does not have its own database tables - it 
         just helps to turn the recording list into a proper recording plan. """
         

src/dvbcronrecording/core.py

 from trac.config import Option, ListOption, PathOption, BoolOption
 
 from translate import Translate #@UnresolvedImport
-from computer import TracCronRecordingPlanComputer, MMMtoHHMM
+from computer import DvbCronRecordingPlanComputer, MMMtoHHMM
 try:
     from channels import DvbCronRecordingChannelsPlugin
 except:
         return "\n".join(list(self.loadtextlines(req)))
     def loadtextlines(self, req):
         entries = self._recordings_list(req)
-        computer = TracCronRecordingPlanComputer(self.env)
+        computer = DvbCronRecordingPlanComputer(self.env)
         plan = computer.plan(entries)
         for group in plan.groups():
             newtime = MMMtoHHMM(group.newtimeMMM).replace(":","")
         entries = self._recordings_list(req)
         return list(self._recording_plan_from(entries))
     def _recording_plan_from(self, entries):
-        computer = TracCronRecordingPlanComputer(self.env)
+        computer = DvbCronRecordingPlanComputer(self.env)
         plan = computer.plan(entries)
         for item in plan.items():
             yield item
     """
     def _makefile_entries(self, req):
         entries = self._recordings_list(req)
-        computer = TracCronRecordingPlanComputer(self.env)
+        computer = DvbCronRecordingPlanComputer(self.env)
         plan = computer.plan(entries)
         for group in plan.groups():
             if not group.items: continue
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.