freebsd-ports/deskutils/blogtk/files/patch-blogtk-no-category
Rong-En Fan dbb6b60d6e - Pass maintainership to submitter
- Add a patch to deal with no categories on server
  http://sourceforge.net/tracker/index.php?func=detail&aid=1523895&group_id=87493&atid=583338

PR:		ports/100441
Submitted by:	Jean-Baptiste Quenot <jbq at caraldi.com>
2006-07-18 17:14:33 +00:00

19 lines
589 B
Text

--- src/BloGTK.py.orig Mon Jan 10 04:51:05 2005
+++ src/BloGTK.py Mon Jul 17 17:04:32 2006
@@ -609,6 +609,7 @@
blogID = item['blogid']
# Are we using MT? If so, we need to pull the category ID as well.
+ catID = "0"
if self.system == "mt":
catName = self.catCombo.entry.get_text()
@@ -619,8 +620,6 @@
for k,v in item.items():
if item['categoryName'] == catName:
catID = item['categoryId']
- else:
- catID = "0"
# 0.95 - We also need to pull our extended entry as well as our other
# fields