Commits

Ronald Oussoren committed 9518beb

Tweak example code for py3k

Comments (0)

Files changed (1)

pyobjc-framework-CalendarStore/Examples/Scripts/add_wwdc_to_calendar.py

 
 store = CalCalendarStore.defaultCalendarStore()
 for cal in store.calendars():
-    if cal._.title == u"Work":
+    if cal._.title == "Work":
         event = CalEvent.event()
         event._.calendar = cal
         event._.title = "WWDC 2009"