<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -104,8 +104,8 @@ if opts.uri:
         error(&quot;There should be exactly one group name&quot;)
 
     feed = find_feed(opts.uri)
-    config['href'] = feed['href']
     if feed:
+        config['href'] = feed['href']
         if opts.add_group:
             g = group.NewGroup(args[0], config)
             failed = True</diff>
      <filename>admin.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bef0931c283f09c1bc10f6da9c81ef6921d600c3</id>
    </parent>
  </parents>
  <author>
    <name>David Wragg</name>
    <email>david@wragg.org</email>
  </author>
  <url>http://github.com/dpw/pnntprss/commit/f8c9091d09576dc08a5fcd6292464f03b7df5c60</url>
  <id>f8c9091d09576dc08a5fcd6292464f03b7df5c60</id>
  <committed-date>2009-06-18T21:22:49-07:00</committed-date>
  <authored-date>2009-06-18T21:22:49-07:00</authored-date>
  <message>Fix None dereference on invalid feed URL</message>
  <tree>b4f80d6abc28602c799e471f2aef56f0abb1baba</tree>
  <committer>
    <name>David Wragg</name>
    <email>david@wragg.org</email>
  </committer>
</commit>
