Commit 3778fd4
authored
Improving the basic_usage_examples.py
* Removing some old connection hacks from basic_usage_examples.py, and improving comments now that `get_davclient()` is in use connection parameters should be passed through environment or through a configuration file.
* Rearrange basic_usage_examples.py to be easier to follow, having the functions appear in order of usage helps read the example code
* Be more verbose during execution
* Bugfix, use the calendar name passed in and not the hardcoded value
Fixes #533
#534
Signed-off-by: David Greaves <david@dgreaves.com>
Signed-off-by: Tobias Brox <tobias@redpill-linpro.com>1 parent d333c00 commit 3778fd4
3 files changed
Lines changed: 197 additions & 173 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
4 | 12 | | |
5 | 13 | | |
6 | 14 | | |
| |||
85 | 93 | | |
86 | 94 | | |
87 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
88 | 100 | | |
89 | 101 | | |
90 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments