Another one-liner. The system code is a bit different (due to all the extra javascriptyness on the list page), so this was missed.
--- diff --git a/django/views.py b/django/views.py index f78108b..75ea7cb 100644 --- a/django/views.py +++ b/django/views.py @@ -262,7 +262,7 @@ def system_save(request): if system_name == None: return HttpResponse("NO SYSTEM NAME SPECIFIED")
- if editmode == 'copy': + if editmode in ('new','copy'): system_id = remote.new_system(token) else: if editmode == 'edit':
James Cammarata wrote:
Another one-liner. The system code is a bit different (due to all the extra javascriptyness on the list page), so this was missed.
diff --git a/django/views.py b/django/views.py index f78108b..75ea7cb 100644 --- a/django/views.py +++ b/django/views.py @@ -262,7 +262,7 @@ def system_save(request): if system_name == None: return HttpResponse("NO SYSTEM NAME SPECIFIED")
- if editmode == 'copy':
- if editmode in ('new','copy'): system_id = remote.new_system(token) else: if editmode == 'edit':
Thanks ... Is this stuff going into your github? If so I can just merge it there ... looks like it's not up yet?
--Michael
On Apr 29, 2009, at 1:12 PM, Michael DeHaan mdehaan@redhat.com wrote:
James Cammarata wrote:
Another one-liner. The system code is a bit different (due to all the extra javascriptyness on the list page), so this was missed.
diff --git a/django/views.py b/django/views.py index f78108b..75ea7cb 100644 --- a/django/views.py +++ b/django/views.py @@ -262,7 +262,7 @@ def system_save(request): if system_name == None: return HttpResponse("NO SYSTEM NAME SPECIFIED")
- if editmode == 'copy':
- if editmode in ('new','copy'): system_id = remote.new_system(token) else: if editmode == 'edit':
Thanks ... Is this stuff going into your github? If so I can just merge it there ... looks like it's not up yet?
--Michael
No sorry, no access to github from work.
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
James Cammarata wrote:
On Apr 29, 2009, at 1:12 PM, Michael DeHaan mdehaan@redhat.com wrote:
James Cammarata wrote:
Another one-liner. The system code is a bit different (due to all the extra javascriptyness on the list page), so this was missed.
diff --git a/django/views.py b/django/views.py index f78108b..75ea7cb 100644 --- a/django/views.py +++ b/django/views.py @@ -262,7 +262,7 @@ def system_save(request): if system_name == None: return HttpResponse("NO SYSTEM NAME SPECIFIED")
- if editmode == 'copy':
- if editmode in ('new','copy'):
system_id = remote.new_system(token) else: if editmode == 'edit':
Thanks ... Is this stuff going into your github? If so I can just merge it there ... looks like it's not up yet?
--Michael
No sorry, no access to github from work.
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Ok, will apply. If you can generate your patches using "git-format-patch" / "git-send-email" they can be applied with "git am" -- makes things a bit quicker.
--Michael
James Cammarata wrote:
On Apr 29, 2009, at 1:12 PM, Michael DeHaan mdehaan@redhat.com wrote:
James Cammarata wrote:
Another one-liner. The system code is a bit different (due to all the extra javascriptyness on the list page), so this was missed.
diff --git a/django/views.py b/django/views.py index f78108b..75ea7cb 100644 --- a/django/views.py +++ b/django/views.py @@ -262,7 +262,7 @@ def system_save(request): if system_name == None: return HttpResponse("NO SYSTEM NAME SPECIFIED")
- if editmode == 'copy':
- if editmode in ('new','copy'):
system_id = remote.new_system(token) else: if editmode == 'edit':
Thanks ... Is this stuff going into your github? If so I can just merge it there ... looks like it's not up yet?
--Michael
No sorry, no access to github from work.
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
nm on the git-send-email/format-patch bits. I can't read, apparently :)
--Michael
cobbler-devel@lists.fedorahosted.org