Your message dated Tue, 2 Sep 2014 22:08:01 -0700
with message-id <20140903050801.GE15911@nomada>
and subject line Closing
has caused the Debian Bug report #747408,
regarding nm.debian.org: get_portfolio_url() doesn't return the full url
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
747408: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747408
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nm.debian.org
Severity: normal
Tags: patch

Hi,

backend/models.py get_portfolio_url() doesn't return the full portfolio
URL, it's missing replacement fields. Patch attached.

Cheers,

Santiago

-- System Information:
Debian Release: 7.2
  APT prefers stable
  APT policy: (500, 'stable'), (10, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/backend/models.py b/backend/models.py
index 02a29aa..2d17030 100644
--- a/backend/models.py
+++ b/backend/models.py
@@ -474,7 +474,7 @@ class Person(models.Model):
             parms["gpgfp"] = self.fpr
         if self.uid:
             parms["username"] = self.uid
-        return u"http://portfolio.debian.net/result?".format(urllib.urlencode(parms))
+        return u"http://portfolio.debian.net/result?{}".format(urllib.urlencode(parms))
 
     def get_allowed_processes(self):
         "Return a lits of processes that this person can begin"

--- End Message ---
--- Begin Message ---
Maybe thanks to the Enrico's hardwork in the airport, this bug is fixed.

Thanks,

Santiago

--- End Message ---

Reply via email to