clean up upnp error category by moving it into upnp.cpp, it's not properly encapsulated. added some documentation to torrent_handle. reformatted some documentation comments to honor an 80 column display

This commit is contained in:
Arvid Norberg
2014-02-02 03:05:55 +00:00
parent 0228a2a644
commit 15e2019332
42 changed files with 969 additions and 704 deletions

View File

@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils 0.10: http://docutils.sourceforge.net/" />
<title>libtorrent python binding</title>
<meta name="author" content="Arvid Norberg, arvid&#64;rasterbar.com" />
<link rel="stylesheet" type="text/css" href="../../css/base.css" />
@@ -158,7 +158,10 @@ ses.listen_on(6881, 6891)
e = lt.bdecode(open(&quot;test.torrent&quot;, 'rb').read())
info = lt.torrent_info(e)
h = ses.add_torrent(info, &quot;./&quot;, storage_mode=storage_mode_sparse)
params = { save_path: './', \
storage_mode: lt.storage_mode_t.storage_mode_sparse, \
ti: info }
h = ses.add_torrent(params)
while (not h.is_seed()):
s = h.status()