Skip to content

Commit cfdc4ca

Browse files
authored
Import
From `Autodesk/pull/177`
1 parent 927c607 commit cfdc4ca

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
from .Report import *
2+
3+
# Lists monitored repositories
4+
class ReportReposMonitored(Report):
5+
def name(self):
6+
return "repository-monitored"
7+
8+
# The data is overwritten every day, so skip reading the old data
9+
def readData(self):
10+
pass
11+
12+
def updateData(self):
13+
self.header = ['repository']
14+
self.data = map(lambda repository: [repository], self.configuration["monitoredRepositories"])

0 commit comments

Comments
 (0)