#!/usr/bin/env python
# =============================================================================
# file = filesystem.py
# description = Gets file system data
# author = GR <https://github.com/shortdudey123>
# create_date = 2014-07-29
# mod_date = 2014-07-29
# version = 0.1
# usage = 
# notes =
# python_ver = 2.7.6
# =============================================================================

import subprocess
import platform

def getFilesystemData():
    retData = {}
    sys = platform.system()

    if sys == 'Linux':
        proc = subprocess.Popen(["df"], stdout=subprocess.PIPE)
        rawData = proc.communicate()
        print rawData
    return retData

if __name__ == '__main__':
    getFilesystemData()
@@ -625,16 +625,62 @@
 icate()%0A
+        rawDataLines = rawData%5B0%5D.split('%5Cn')%0A
         
@@ -692,16 +692,21 @@
  rawData
+Lines
 %0A    ret

fix syntax