Upgrading to GitLab 11.11.0.

Commit 8baf29ad authored by Sriram Karra's avatar Sriram Karra

Handle nil notes in v6,7,9

parent d440b6e2
......@@ -651,7 +651,7 @@ class BBPIMDB(PIMDB):
re_note = ('\((?P<field>[^()]+)\s*\.\s*(?P<value>' +
res['string'] + '|\d+)+\)')
re_notes = '\((' + re_note + '\s*)+\)'
re_notes = 'nil|\((' + re_note + '\s*)+\)'
res.update({'note' : re_note})
res.update({'notes' : re_notes})
......@@ -709,7 +709,7 @@ class BBPIMDB(PIMDB):
re_note = ('\((?P<field>[^()]+)\s*\.\s*(?P<value>' +
res['string'] + '|\d+)+\)')
re_notes = '\((' + re_note + '\s*)+\)'
re_notes = 'nil|\((' + re_note + '\s*)+\)'
res.update({'note' : re_note})
res.update({'notes' : re_notes})
......@@ -770,7 +770,7 @@ class BBPIMDB(PIMDB):
re_note = ('\((?P<field>[^()]+)\s*\.\s*(?P<value>' +
res['string'] + '|\d+)+\)')
re_notes = '\((' + re_note + '\s*)+\)'
re_notes = 'nil|\((' + re_note + '\s*)+\)'
res.update({'note' : re_note})
res.update({'notes' : re_notes})
......
;; -*-coding: utf-8-emacs -*-
;;; file-format: 9
;; Test comment. Let's see what happens to this.
;; Another comment at the end of th file.
["Apple" "Inc." nil nil ("Apple Inc.") nil nil nil nil "f41318f4-b7a5-4144-87ae-2e7ca4a8146f" "2013-08-03 03:28:32.750988" "2013-08-03 03:28:32 +0000" nil]
;;; file-version: 6
;;; user-fields: (mail-alias d\.o\.b birthday www)
["Straight " nil nil nil nil (["Work" ("nil") "" "" "" "India"]) ("sraight@t.com") nil nil]
;;; file-format: 7
["Apple" "Inc." nil nil ("Apple Inc.") nil nil nil nil nil]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment