14
edits
Changes
m
import smtplib
import socket
print 'sending mail'
print 'mail sent'
no edit summary
import getopt
import re
veid=''
current_data=dict()
opts=None
beancounter_data=open('/proc/user_beancounters','r')None
picklefilepath='/tmp/beancounters_pickledump'
if count_change and count == True:
send_mail(count_change)
return current_data
elif count == True:
count=False
beancounter_data=open('/proc/user_beancounters','r')
data_read=pickle_data(current_data,'read',count,picklefilepath)
current_data = compare_data(beancounter_data,data_read,count)