Skip to content
Permalink
Browse files
bug fix: when package upgrade available
  • Loading branch information
usmannasir committed May 3, 2020
1 parent 332b9ff commit 27f43468f50f7246f0b367ca2f32a6c2239860e4
Showing 1 changed file with 2 additions and 1 deletion.
@@ -769,7 +769,8 @@ def fetchPackages(request):
upgrade = 'Not Needed'

if nowSplitted[1].split(' ')[3].find('upgradable') > -1:
upgrade = nowSplitted[1].split(' ')[3]
current = nowSplitted[1].split(' ')
upgrade = '%s %s %s' % (current[3], current[4], current[5])

dic = {'package': nowSplitted[0].split('/')[0], 'version': '%s %s' % (nowSplitted[1].split(' ')[1], nowSplitted[1].split(' ')[2]), 'upgrade': upgrade}

0 comments on commit 27f4346

Please sign in to comment.