mirror of https://github.com/scrapy/scrapy.git
fixed compatibility with python 2.5 and removed unused code
This commit is contained in:
parent
0ba9999cca
commit
ebf5ad933e
|
|
@ -1,3 +1,5 @@
|
|||
from __future__ import with_statement
|
||||
|
||||
import os
|
||||
import sys
|
||||
import struct
|
||||
|
|
@ -64,7 +66,4 @@ def _vmvalue_solaris(vmkey, pid):
|
|||
|
||||
vm_in_kB = parts[vmkey_index[vmkey]]
|
||||
|
||||
def kB_to_Bytes(kB):
|
||||
return kB * 1024
|
||||
|
||||
return vm_in_kB * 1024
|
||||
|
|
|
|||
Loading…
Reference in New Issue