Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LHCbDIRAC
Manage
Activity
Members
Labels
Plan
Issues
16
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
11
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCb Dirac
LHCbDIRAC
Merge requests
!13
Polish RSS with pylint 2 -
LHCBDIRAC-492
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Polish RSS with pylint 2 -
LHCBDIRAC-492
smiras/LHCbDIRAC:Polish_RSS_code_with_pylint2
into
devel
Overview
0
Commits
1
Pipelines
0
Changes
Closed
Stavros Moiras
requested to merge
smiras/LHCbDIRAC:Polish_RSS_code_with_pylint2
into
devel
8 years ago
Overview
0
Commits
1
Pipelines
0
Changes
-
Expand
👍
0
👎
0
Merge request reports
Compare
devel
devel (base)
and
latest version
latest version
b723cd09
1 commit,
8 years ago
+
707
−
718
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
Search (e.g. *.vue) (Ctrl+P)
LHCbDIRAC/ResourceStatusSystem/Agent/GridSiteMonitoringAgent.py
+
9
−
10
Options
@@ -166,8 +166,8 @@
# subMetricName = "%s,total_files" % metricName
# self.__addWithMissing( finalData, subMetricName, allSites, totalFilesData, startEpoch, endEpoch, extraURL, groupBy, -1 )
# return S_OK( finalData )
#
# def __addWithMissing( self, finalData, subMetricName, allSites, data,
#
# def __addWithMissing( self, finalData, subMetricName, allSites, data,
# startEpoch, endEpoch, extraURL, groupBy, max ):
# for channel in data:
# self._appendToFinalData( finalData, channel, subMetricName, data[ channel ], max,
@@ -234,7 +234,7 @@
# else:
# baseReportDesc[ "_%s" % key ] = ",".join( value )
# return "%s#%s" % ( baseURL, DEncode.encode( baseReportDesc ) )
#
#
# def _generateRunningJobsExtraURL( self, reportName, reportCond, groupBy = 'Site' ):
# baseURL = "http://lhcbweb.pic.es/DIRAC/%s/visitor/systems/accountingPlots/WMSHistory" % gConfig.getValue( "/DIRAC/Setup" )
# baseReportDesc = { '_plotName': reportName, '_grouping': groupBy, '_typeName': 'DataOperation', '_timeSelector': '86400' }
@@ -245,7 +245,7 @@
# else:
# baseReportDesc[ "_%s" % key ] = ",".join( value )
# return "%s#%s" % ( baseURL, DEncode.encode( baseReportDesc ) )
#
#
# def _retrieveStartedJobs( self ):
# rC = ReportsClient()
# endT = Time.dateTime()
@@ -253,7 +253,7 @@
# reportCond = { 'Status' : [ 'Running' ] }
# result = rC.getReport( "WMSHistory", 'NumberOfJobs', startT, endT,
# reportCond, 'Site' )
#
#
# if not result[ 'OK' ]:
# return result
# acData = result[ 'Value' ][ 'data' ]
@@ -288,9 +288,9 @@
# gridName = site[ :site.find(".") ]
# site = gConfig.getValue( "/Resources/Sites/%s/%s/Name" %( gridName, site ), site )
# cvsLines.append( "%s,job_processing,started_jobs,%d,-1,unknown,%d,%d,%s" % ( site, startedJobs,
# startEpoch, endEpoch,
# startEpoch, endEpoch,
# url ) )
# return S_OK( cvsLines )
#
# return S_OK( cvsLines )
#
#################################################################################
##EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF
\ No newline at end of file
##EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF#EOF
Loading