Commits

Darrell Schiebel authored 5b9a4f39773
remove stray character [CAS-13894]

casatasks/src/private/partitionhelper.py

Modified
692 692 """
693 693
694 694 from subprocess import Popen, PIPE, STDOUT
695 695
696 696 # Command line to run
697 697 ducmd = 'du -hs {0}'.format(msfile)
698 698
699 699 p = Popen(ducmd, shell=True, stdin=None, stdout=PIPE, stderr=STDOUT, close_fds=True)
700 700 o, e = p.communicate() ### previously 'sizeline = p.stdout.read()' here
701 701 ### left process running...
702 - sizeline = o.decode( ).split( )[0])
702 + sizeline = o.decode( ).split( )[0]
703 703
704 704 # Create a list of the output string, which looks like this:
705 705 # ' 75M\tuidScan23.data/uidScan23.0000.ms\n'
706 706 # This will create a list with [size,sub-ms]
707 707 mssize = sizeline.split()
708 708
709 709 return mssize[0]
710 710
711 711
712 712 def getSubtables(vis):

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut