diff options
author | Six <unknown> | 2011-05-03 21:19:10 -0400 |
---|---|---|
committer | Six <unknown> | 2011-05-03 21:19:10 -0400 |
commit | 9210fcab1d7267f172557a4589434095ef5211c0 (patch) | |
tree | 4625bdf814b13e4c9fbaba02902bece60e4a6905 | |
parent | bde9e79fd5aa1d46f2ecf2351dcaa31a6bd7f9d4 (diff) | |
download | d2-9210fcab1d7267f172557a4589434095ef5211c0.tar.bz2 d2-9210fcab1d7267f172557a4589434095ef5211c0.tar.xz d2-9210fcab1d7267f172557a4589434095ef5211c0.zip |
fixed mobile number format
-rw-r--r-- | lib/d2/bin/d2_data_merge.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/d2/bin/d2_data_merge.py b/lib/d2/bin/d2_data_merge.py index 0af8e94..e3bba80 100644 --- a/lib/d2/bin/d2_data_merge.py +++ b/lib/d2/bin/d2_data_merge.py | |||
@@ -387,7 +387,8 @@ class DbMobile(BaseDb): | |||
387 | 387 | ||
388 | def _grab_data(self, occupant): | 388 | def _grab_data(self, occupant): |
389 | if 'mobile' in occupant.ldap_data.keys(): | 389 | if 'mobile' in occupant.ldap_data.keys(): |
390 | return unicode(occupant.ldap_data['mobile']) | 390 | data = unicode(occupant.ldap_data['mobile']) |
391 | return self._fix_phone_number(data) | ||
391 | 392 | ||
392 | 393 | ||
393 | class DbFax(BaseDb): | 394 | class DbFax(BaseDb): |