libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r832880 - in /websites/staging/libcloud/trunk/content: ./ docs/storage-examples.html
Date Mon, 24 Sep 2012 06:43:20 GMT
Author: buildbot
Date: Mon Sep 24 06:43:19 2012
New Revision: 832880

Log:
Staging update by buildbot for libcloud

Modified:
    websites/staging/libcloud/trunk/content/   (props changed)
    websites/staging/libcloud/trunk/content/docs/storage-examples.html

Propchange: websites/staging/libcloud/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Sep 24 06:43:19 2012
@@ -1 +1 @@
-1377977
+1389221

Modified: websites/staging/libcloud/trunk/content/docs/storage-examples.html
==============================================================================
--- websites/staging/libcloud/trunk/content/docs/storage-examples.html (original)
+++ websites/staging/libcloud/trunk/content/docs/storage-examples.html Mon Sep 24 06:43:19
2012
@@ -180,7 +180,7 @@
 
 <h3 id="publishing-a-static-website-using-cloudfiles-driver">Publishing a static website
using CloudFiles driver</h3>
 
-<p>Note this feature is currently only available in Libcloud <code>trunk</code>.</p>
+<p>Note this feature is available since Libcloud <code>0.11.0</code>.</p>
 <div class="codehilite"><pre><span class="kn">from</span> <span
class="nn">StringIO</span> <span class="kn">import</span> <span class="n">StringIO</span>
 
 <span class="kn">from</span> <span class="nn">libcloud.storage.types</span>
<span class="kn">import</span> <span class="n">Provider</span>
@@ -207,8 +207,8 @@
 <span class="n">driver</span><span class="o">.</span><span class="n">ex_set_error_page</span><span
class="p">(</span><span class="n">container</span><span class="o">=</span><span
class="n">container</span><span class="p">,</span> <span class="n">file_name</span><span
class="o">=</span><span class="s">&#39;error.html&#39;</span><span
class="p">)</span>
 <span class="n">driver</span><span class="o">.</span><span class="n">enable_container_cdn</span><span
class="p">(</span><span class="n">container</span><span class="o">=</span><span
class="n">container</span><span class="p">)</span>
 
-<span class="k">print</span><span class="p">(</span><span class="n">All</span>
<span class="n">done</span> <span class="n">you</span> <span class="n">can</span>
<span class="n">view</span> <span class="n">the</span> <span class="n">website</span>
<span class="n">at</span><span class="s">&#39;, </span><span
class="se">\</span>
-<span class="s">      driver.get_container_cdn_url(container=container))</span>
+<span class="k">print</span><span class="p">(</span><span class="s">&#39;All
done you can view the website at: &#39;</span> <span class="o">+</span>
\
+      <span class="n">driver</span><span class="o">.</span><span
class="n">get_container_cdn_url</span><span class="p">(</span><span
class="n">container</span><span class="o">=</span><span class="n">container</span><span
class="p">))</span>
 </pre></div>
       
     </div>



Mime
View raw message