Skip to content

Commit

Permalink
fix doc example
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarman committed May 12, 2016
1 parent 4b9de89 commit e614370
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ to do the easy stuff and handling all of the "sharp corners" behind the scenes f
>>> from cbapi.response import CbEnterpriseResponseAPI, Process, Binary, Sensor
>>> c=CbEnterpriseResponseAPI()
>>> # take the first process that ran notepad.exe, download the binary and read the first two bytes
>>> c.select(Process).where('process_name:notepad.exe').first().binary.file.read(2)response import CbEnterpriseResponseAPI, Process, Binary, Sensor
>>> c=CbEnterpriseResponseAPI()
>>> # take the first process that ran notepad.exe, download the binary and read the first two bytes
>>> c.select(Process).where('process_name:notepad.exe').first().binary.file.read(2)
'MZ'
>>> # if you want a specific ID, you can put it straight into the .select() call:
Expand Down

0 comments on commit e614370

Please sign in to comment.