hash
stringlengths
40
40
diff
stringlengths
131
26.7k
message
stringlengths
7
694
project
stringlengths
5
67
split
stringclasses
1 value
diff_languages
stringlengths
2
24
03b137cfab11b7c0fdd2ea2fa33584344812c2d8
diff --git a/inflection.py b/inflection.py index <HASH>..<HASH> 100644 --- a/inflection.py +++ b/inflection.py @@ -29,7 +29,7 @@ PLURALS = [ (r"(?i)sis$", 'ses'), (r"(?i)([ti])a$", r'\1a'), (r"(?i)([ti])um$", r'\1a'), - (r"(?i)(buffal|tomat)o$", r'\1oes'), + (r"(?i)(buffal|potat|tomat)o$", r'\1oes'...
Fix pluralization of "potato" Closes #7.
jpvanhal_inflection
train
py,py
aeae190b8b2dc2d63f982a699ffcacb55b8abdc6
diff --git a/packages/@uppy/transloadit/src/index.js b/packages/@uppy/transloadit/src/index.js index <HASH>..<HASH> 100644 --- a/packages/@uppy/transloadit/src/index.js +++ b/packages/@uppy/transloadit/src/index.js @@ -413,9 +413,14 @@ module.exports = class Transloadit extends Plugin { * When all files are removed...
transloadit: only cancel assemblies belonging to ongoing upload (#<I>)
transloadit_uppy
train
js
b87c7dfa9fd7a7920756c73cc87ff7f5158cf9d4
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -627,7 +627,7 @@ Remit.prototype.__consume_res = function __consume_res (message, callbacks, cont service: message.properties.appId, event: message.properties.type, caller: message.properties.message...
Fixing bug whereby the lack of a UUID breaks the consumer
jpwilliams_remit
train
js
62bde62d1a534be20b0e110d68edb0cf5c5c7cee
diff --git a/src/Providers/ArtisanServiceProvider.php b/src/Providers/ArtisanServiceProvider.php index <HASH>..<HASH> 100644 --- a/src/Providers/ArtisanServiceProvider.php +++ b/src/Providers/ArtisanServiceProvider.php @@ -128,8 +128,8 @@ class ArtisanServiceProvider extends BaseArtisanServiceProvider */ pub...
Register artisan commands on console mode only
rinvex_cortex-foundation
train
php
435b370223026219132efa5694274294ce0c2b93
diff --git a/lib/kafkaClient.js b/lib/kafkaClient.js index <HASH>..<HASH> 100644 --- a/lib/kafkaClient.js +++ b/lib/kafkaClient.js @@ -191,6 +191,10 @@ KafkaClient.prototype.connectToBrokers = function (hosts, callback) { }, () => !this.closing && !broker && index < hosts.length, () => { + if (this....
Race condition when closing client, still attempt to refreshBrokerMetadata when client is closing (#<I>)
SOHU-Co_kafka-node
train
js
434964512b52d4126a843e983a302af7b668156c
diff --git a/Minimal-J/src/main/java/ch/openech/mj/swing/toolkit/SwingComboBox.java b/Minimal-J/src/main/java/ch/openech/mj/swing/toolkit/SwingComboBox.java index <HASH>..<HASH> 100644 --- a/Minimal-J/src/main/java/ch/openech/mj/swing/toolkit/SwingComboBox.java +++ b/Minimal-J/src/main/java/ch/openech/mj/swing/toolkit/...
SwingComboBox has to listen to deselect events for not to miss null selection
BrunoEberhard_minimal-j
train
java
1d0d6ef793e83c45ed296bd7f01df7c5b61bd8c8
diff --git a/lib/Sabre/CalDAV/Plugin.php b/lib/Sabre/CalDAV/Plugin.php index <HASH>..<HASH> 100644 --- a/lib/Sabre/CalDAV/Plugin.php +++ b/lib/Sabre/CalDAV/Plugin.php @@ -25,16 +25,6 @@ class Sabre_CalDAV_Plugin extends Sabre_DAV_ServerPlugin { const NS_CALENDARSERVER = 'http://calendarserver.org/ns/'; /** ...
Removed constants that are no longer used.
sabre-io_dav
train
php
7569c5385eb47c68b53973640bd13012b6d4b626
diff --git a/code/AssetAdmin.php b/code/AssetAdmin.php index <HASH>..<HASH> 100755 --- a/code/AssetAdmin.php +++ b/code/AssetAdmin.php @@ -70,21 +70,14 @@ class AssetAdmin extends LeftAndMain { function init() { parent::init(); - // needed for MemberTableField (Requirements not determined before Ajax-Call) - ...
MINOR Removed unnecessary Requirements in AssetAdmin->init() - they are now included by jquery.ondemand git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@<I> <I>b<I>ca-7a2a-<I>-9d3b-<I>d<I>a<I>a9
silverstripe_silverstripe-siteconfig
train
php
550fd001607b83080e0474bf4eb112bd31edcda5
diff --git a/solver/llbsolver/vertex.go b/solver/llbsolver/vertex.go index <HASH>..<HASH> 100644 --- a/solver/llbsolver/vertex.go +++ b/solver/llbsolver/vertex.go @@ -80,10 +80,20 @@ func RuntimePlatforms(p []specs.Platform) LoadOpt { defaultPlatform = &pb.Platform{ OS: p.OS, Architecture: p....
Don't miss the Variant for arm2 platform The `defaultPlatform` got on the build system include the variant for arm v6, v7 etc. This is an important information for us to find the matched platform, but this information is missed since the code doesn't include variant when assemble the platform information. And since "...
moby_buildkit
train
go
6aacf20167e4b0610b964325e9372de4b722c38e
diff --git a/builder/vmware/driver_workstation9.go b/builder/vmware/driver_workstation9.go index <HASH>..<HASH> 100644 --- a/builder/vmware/driver_workstation9.go +++ b/builder/vmware/driver_workstation9.go @@ -155,5 +155,10 @@ func (d *Workstation9Driver) runAndLog(cmd *exec.Cmd) (string, string, error) { log.Printf...
builder/vmware: convert line endings in workstation to Unix-style
hashicorp_packer
train
go
097298f771ba3eb2dc51144eb8bf3b52f5ae636a
diff --git a/demo/amqp_ha_consumer.php b/demo/amqp_ha_consumer.php index <HASH>..<HASH> 100644 --- a/demo/amqp_ha_consumer.php +++ b/demo/amqp_ha_consumer.php @@ -26,11 +26,11 @@ $ha_connection = array( $ha_specific_connection = array( 'x-ha-policy' => array( - 'S', 'all' + 'S', 'nodes' ), 'x-ha-policy-param...
Whoops, I meant 'nodes'
php-amqplib_php-amqplib
train
php
d9cd07898d5cdd75106573a519b2e48f578925b6
diff --git a/eZ/Publish/API/Repository/Tests/SetupFactory/LegacyElasticsearch.php b/eZ/Publish/API/Repository/Tests/SetupFactory/LegacyElasticsearch.php index <HASH>..<HASH> 100644 --- a/eZ/Publish/API/Repository/Tests/SetupFactory/LegacyElasticsearch.php +++ b/eZ/Publish/API/Repository/Tests/SetupFactory/LegacyElastic...
EZP-<I>: slots: adapt LegacyElasticsearch test setup factory
ezsystems_ezpublish-kernel
train
php
113128846d8e4ddf4953539fab434ea45663e126
diff --git a/quickbooks/mixins.py b/quickbooks/mixins.py index <HASH>..<HASH> 100644 --- a/quickbooks/mixins.py +++ b/quickbooks/mixins.py @@ -50,6 +50,11 @@ class FromJsonMixin(object): return obj +class ToDictMixin(object): + def to_dict(self): + return json.loads(self.to_json()) + + class Rea...
Added ToDictMixin
sidecars_python-quickbooks
train
py,py
7bcf3c0672a922b6a997de06abc5a73f77ccd5cd
diff --git a/chef/lib/chef/cookbook/metadata.rb b/chef/lib/chef/cookbook/metadata.rb index <HASH>..<HASH> 100644 --- a/chef/lib/chef/cookbook/metadata.rb +++ b/chef/lib/chef/cookbook/metadata.rb @@ -91,7 +91,7 @@ class Chef # # === Returns # metadata<Chef::Cookbook::Metadata> - def initialize(...
[CHEF-<I>] - use same values for initialize as knife cookbook create
chef_chef
train
rb
aeb97169744f398fa49422f7f143fb6dfa4f2520
diff --git a/src/domain/helpers/TestShell.php b/src/domain/helpers/TestShell.php index <HASH>..<HASH> 100644 --- a/src/domain/helpers/TestShell.php +++ b/src/domain/helpers/TestShell.php @@ -9,10 +9,7 @@ class TestShell extends BaseShell { public function codeceptionRun() { try { - $path = \Yii::getAlias('...
use rails constants instead native yii one
yii2module_yii2-vendor
train
php
32e0508f7e6cf05d125f45f1a24d6ae18587cca8
diff --git a/src/Sylius/Bundle/UserBundle/Command/DemoteUserCommand.php b/src/Sylius/Bundle/UserBundle/Command/DemoteUserCommand.php index <HASH>..<HASH> 100644 --- a/src/Sylius/Bundle/UserBundle/Command/DemoteUserCommand.php +++ b/src/Sylius/Bundle/UserBundle/Command/DemoteUserCommand.php @@ -31,7 +31,7 @@ class Demot...
Fix a typo in DemoteUserCommand
Sylius_Sylius
train
php
d6ebb1d0517f558dc8d9a0863b1d2614ea8cb60a
diff --git a/test/gen_casadi_test.py b/test/gen_casadi_test.py index <HASH>..<HASH> 100644 --- a/test/gen_casadi_test.py +++ b/test/gen_casadi_test.py @@ -2092,7 +2092,7 @@ class GenCasadiTest(unittest.TestCase): self.assertEqual(casadi_model.parameters[0].value.name(), c1.name()) self.assertEqual(cas...
Fix name of derivative initialiation test
pymoca_pymoca
train
py
319a81c580d01621cd624c07fe76ea7f1b1c7c1d
diff --git a/src/utils/TimeSlots.js b/src/utils/TimeSlots.js index <HASH>..<HASH> 100644 --- a/src/utils/TimeSlots.js +++ b/src/utils/TimeSlots.js @@ -19,7 +19,7 @@ export function getSlotMetrics({ min: start, max: end, step, timeslots }) { 1 + dates.diff(start, end, 'minutes') + getDstOffset(start, end) const ...
fix: numGroups calculation (#<I>)
intljusticemission_react-big-calendar
train
js
6a3ac11a78827f21054b2ec6492683d5b4db20e7
diff --git a/lib/psych.rb b/lib/psych.rb index <HASH>..<HASH> 100644 --- a/lib/psych.rb +++ b/lib/psych.rb @@ -123,7 +123,7 @@ module Psych # Psych.load("--- `", "file.txt") # rescue Psych::SyntaxError => ex # ex.file # => 'file.txt' - # ex.message # => "(foo.txt): found character that cannot...
* lib/psych.rb (Psych.load): Return value of Psych::SyntaxError.message should be same as example. Patch by Ippei Obayashi [ruby-core:<I>]
ruby_psych
train
rb
31635caa2944c7e228b659727777d62bb2806155
diff --git a/src/main/java/net/samuelcampos/usbdrivedetector/USBDeviceDetectorManager.java b/src/main/java/net/samuelcampos/usbdrivedetector/USBDeviceDetectorManager.java index <HASH>..<HASH> 100644 --- a/src/main/java/net/samuelcampos/usbdrivedetector/USBDeviceDetectorManager.java +++ b/src/main/java/net/samuelcampos/...
Bug fix Fixed bug where an exception would be thrown if the parameter "pollingInterval" would be greater than or equal to zero. Check is now if pollingInterval is less than or equal to zero.
samuelcampos_usbdrivedetector
train
java
46a7a47d043169e52f4ab6ee676613cad08b0690
diff --git a/lib/fog/aws/storage.rb b/lib/fog/aws/storage.rb index <HASH>..<HASH> 100644 --- a/lib/fog/aws/storage.rb +++ b/lib/fog/aws/storage.rb @@ -462,7 +462,7 @@ module Fog @signer = Fog::AWS::SignatureV4.new( @aws_access_key_id, @aws_secret_access_key, @region, 's3') elsif @signature_versi...
[aws|storage] catch edge cases around redirect region/host
fog_fog
train
rb
685adeaf02247994f361e5aa7d99d9a5dacc7859
diff --git a/common/src/main/java/tachyon/util/io/BufferUtils.java b/common/src/main/java/tachyon/util/io/BufferUtils.java index <HASH>..<HASH> 100644 --- a/common/src/main/java/tachyon/util/io/BufferUtils.java +++ b/common/src/main/java/tachyon/util/io/BufferUtils.java @@ -41,6 +41,12 @@ public class BufferUtils { ...
Put more comments about why this function is used
Alluxio_alluxio
train
java
ee7284c048f21c0fed96cb6e9f93eabf18ebcf66
diff --git a/ui/src/lang.js b/ui/src/lang.js index <HASH>..<HASH> 100644 --- a/ui/src/lang.js +++ b/ui/src/lang.js @@ -52,12 +52,14 @@ export default { else { if (fromSSR === false) { const el = document.documentElement - el.setAttribute('dir', lang.rtl ? 'rtl' : 'ltr') + el...
fix(date): lang usage in date utils
quasarframework_quasar
train
js
3adfe96ff3342aef6dc71e46fd16b785a4772a15
diff --git a/query/mql/functional_test.go b/query/mql/functional_test.go index <HASH>..<HASH> 100644 --- a/query/mql/functional_test.go +++ b/query/mql/functional_test.go @@ -176,6 +176,18 @@ func TestGetCool(t *testing.T) { runAndTestQuery(query, expected, t) } +func TestNullSemantics(t *testing.T) { + query := `...
Add test for semantics from #<I>
cayleygraph_cayley
train
go
0313859801e9b84be666b6c9c9732d0a107bccf0
diff --git a/tipi/repl.py b/tipi/repl.py index <HASH>..<HASH> 100644 --- a/tipi/repl.py +++ b/tipi/repl.py @@ -15,7 +15,7 @@ class Replacement(object): """Replacement representation.""" default_filters = ['-code', '-kbd', '-pre', '-samp', '-script', - '-style', '-tt'] + ...
No replacements within XMP tags.
honzajavorek_tipi
train
py
0f17689abfbbd6610ff412baea98f46a8f850a24
diff --git a/libnetwork/sandbox.go b/libnetwork/sandbox.go index <HASH>..<HASH> 100644 --- a/libnetwork/sandbox.go +++ b/libnetwork/sandbox.go @@ -626,6 +626,10 @@ func (sb *sandbox) SetKey(basePath string) error { } sb.Lock() + if sb.inDelete { + sb.Unlock() + return types.ForbiddenErrorf("failed to SetKey: sa...
[Bug]Fix race between sandbox.delete() and SetKey() When sandbox is deleting, another SetKey routine could be also in progress as there's no lock to protect it, when this happens, there could be a scene that one sandbox is removed, but it's osSbox file "/var/run/docker/netns/xxxx" left on system and will never be clea...
moby_moby
train
go
7f7cbfa7dc5916758c2d533c8395c1000466c5e9
diff --git a/app/Models/Mutators/ArticleMutators.php b/app/Models/Mutators/ArticleMutators.php index <HASH>..<HASH> 100644 --- a/app/Models/Mutators/ArticleMutators.php +++ b/app/Models/Mutators/ArticleMutators.php @@ -36,7 +36,9 @@ trait ArticleMutators public function getContentAttribute() { if (em...
Update ArticleMutators.php
russsiq_bixbite
train
php
223d1aabe20e5c5b3ab50e058ab5c5f58d846082
diff --git a/src/test/java/liquibase/ext/spatial/LiquibaseH2IT.java b/src/test/java/liquibase/ext/spatial/LiquibaseH2IT.java index <HASH>..<HASH> 100644 --- a/src/test/java/liquibase/ext/spatial/LiquibaseH2IT.java +++ b/src/test/java/liquibase/ext/spatial/LiquibaseH2IT.java @@ -16,13 +16,13 @@ public class LiquibaseH2I...
Renamed a couple methods.
lonnyj_liquibase-spatial
train
java
75a2e37e302ed10a472ee7ed2df1c163dbda2657
diff --git a/doc/_themes/saltstack2/static/js/webhelp.min_v1.4.4.js b/doc/_themes/saltstack2/static/js/webhelp.min_v1.4.4.js index <HASH>..<HASH> 100644 --- a/doc/_themes/saltstack2/static/js/webhelp.min_v1.4.4.js +++ b/doc/_themes/saltstack2/static/js/webhelp.min_v1.4.4.js @@ -274,4 +274,3 @@ function getMetaStatus() ...
update docs to build off master instead of develop
saltstack_salt
train
js
0bf21f654b06f3d3445a0a50172271fc185a2293
diff --git a/webroot/js/view-search-result.js b/webroot/js/view-search-result.js index <HASH>..<HASH> 100644 --- a/webroot/js/view-search-result.js +++ b/webroot/js/view-search-result.js @@ -35,8 +35,6 @@ var view_search_result = view_search_result || {}; */ ViewSearchResult.prototype.datatable = function() ...
removed console debug for the search result
QoboLtd_cakephp-search
train
js
9ff4f4e57989930132454e137ac9c06c5e864006
diff --git a/common/src/java/org/openqa/selenium/browserlaunchers/CapabilityType.java b/common/src/java/org/openqa/selenium/browserlaunchers/CapabilityType.java index <HASH>..<HASH> 100644 --- a/common/src/java/org/openqa/selenium/browserlaunchers/CapabilityType.java +++ b/common/src/java/org/openqa/selenium/browserlau...
SimonStewart: Adding a new well-known capability name r<I>
SeleniumHQ_selenium
train
java
08080b1eec238a6ac77f9e51a353e3adc9ac7bd7
diff --git a/src/Model.php b/src/Model.php index <HASH>..<HASH> 100644 --- a/src/Model.php +++ b/src/Model.php @@ -424,7 +424,7 @@ class Model implements \ArrayAccess, \IteratorAggregate 'fields' => true, 'scope' => UserAction\Generic::SINGLE_RECORD, 'callback'=> 'save', - ...
Update Model.php (#<I>)
atk4_data
train
php
50332fcee16cdb8f615f6753250dbf041f4a4ad1
diff --git a/src/Nuxeo/Client/Api/Constants.php b/src/Nuxeo/Client/Api/Constants.php index <HASH>..<HASH> 100644 --- a/src/Nuxeo/Client/Api/Constants.php +++ b/src/Nuxeo/Client/Api/Constants.php @@ -40,5 +40,15 @@ class Constants { const ENTITY_TYPE_DOCUMENTS = 'documents'; const ENTITY_TYPE_OPERATION = 'operat...
Add constants for PORTAL_AUTH
nuxeo_nuxeo-php-client
train
php
a235d454d4b79fab5df8000e628d8e245c229fe1
diff --git a/src/platform.js b/src/platform.js index <HASH>..<HASH> 100644 --- a/src/platform.js +++ b/src/platform.js @@ -165,6 +165,9 @@ module.exports = function platform(command, targets) { return p + ' @ ' + v + ' could be updated to: ' + avail; } ...
CB-<I> `cordova platform` should not fail when version script fails. cordova platform check should always offer to upgrade broken platforms github: close #<I>
apache_cordova-cli
train
js
bf61859f18deb471fb8c0ecd06d3fa51d26c372a
diff --git a/windows/lib/WixSDK.js b/windows/lib/WixSDK.js index <HASH>..<HASH> 100644 --- a/windows/lib/WixSDK.js +++ b/windows/lib/WixSDK.js @@ -309,6 +309,12 @@ function(app_path, xwalk_path, meta_data, callback) { Arguments: cmd_line_args, WorkingDirectory: 'ApplicationRootFolder' }); + ...
[Windows] Set the System.AppUserModel.ID on the shortcut It's required to get the notifications working and documented by Microsoft (this is valid only here because Crosswalk is not an UWP app).
crosswalk-project_crosswalk-app-tools
train
js
0dc699dab6d7497f60805daf9e53a8fb3e570e21
diff --git a/test/integration/cloud/open_graph.js b/test/integration/cloud/open_graph.js index <HASH>..<HASH> 100644 --- a/test/integration/cloud/open_graph.js +++ b/test/integration/cloud/open_graph.js @@ -14,7 +14,7 @@ describe('OpenGraph story', () => { title: 'Try out the Stream API with Postman - The Stre...
Fix OG integration test (#<I>)
GetStream_stream-js
train
js
1461b5edee5d14716d70cadd71f12c2ed1bc2811
diff --git a/compat/conversation.go b/compat/conversation.go index <HASH>..<HASH> 100644 --- a/compat/conversation.go +++ b/compat/conversation.go @@ -130,7 +130,7 @@ func (c *Conversation) updateValues() { c.Conversation.SetKeys(&c.PrivateKey.PrivateKey, &c.TheirPublicKey.PublicKey) - if c.SSID[:] == nil { + if ...
c.SSID is a [8]byte, it's never nil
coyim_otr3
train
go
6d50fccf35f6599dfa5c93d3acbf154d81075e00
diff --git a/src/keo.js b/src/keo.js index <HASH>..<HASH> 100644 --- a/src/keo.js +++ b/src/keo.js @@ -33,15 +33,6 @@ function isPromise(x) { } /** - * @method isObservable - * @param {*} x - * @return {Boolean} - */ -function isObservable(x) { - return 'subscribe' in Object(x); -} - -/** * @method isObject ...
Removed 'isObservable'
Wildhoney_Keo
train
js
6ac0217901224633708b30786691ef28737b4f8e
diff --git a/pax-web-jsp/src/main/java/org/ops4j/pax/web/jsp/internal/JasperClassLoader.java b/pax-web-jsp/src/main/java/org/ops4j/pax/web/jsp/internal/JasperClassLoader.java index <HASH>..<HASH> 100644 --- a/pax-web-jsp/src/main/java/org/ops4j/pax/web/jsp/internal/JasperClassLoader.java +++ b/pax-web-jsp/src/main/java...
[PAXWEB-<I>] - java.net.MalformedURLException: no protocol applied patch provided by Tuomas Kiviaho
ops4j_org.ops4j.pax.web
train
java
a3608841ec3111ba2fee0152970ef3126e4eb235
diff --git a/salt/states/kapacitor.py b/salt/states/kapacitor.py index <HASH>..<HASH> 100644 --- a/salt/states/kapacitor.py +++ b/salt/states/kapacitor.py @@ -77,6 +77,7 @@ def task_present(name, else: if __opts__['test']: ret['result'] = None + comments.append('Task would have bee...
add comment when script is to be updated in test mode
saltstack_salt
train
py
526fd4e9380a79de987323fba1dff2bd6e1a602e
diff --git a/lib/anemone/http.rb b/lib/anemone/http.rb index <HASH>..<HASH> 100644 --- a/lib/anemone/http.rb +++ b/lib/anemone/http.rb @@ -1,4 +1,4 @@ -require 'net/http' +require 'net/https' module Anemone class HTTP < Net::HTTP @@ -36,7 +36,14 @@ module Anemone opts['User-Agent'] = user_agent if user_age...
added support for ssl (without cert verification)
chriskite_anemone
train
rb
9b31e81c423f2cc6f8a96ae201f779a16ed44496
diff --git a/src/Form.php b/src/Form.php index <HASH>..<HASH> 100644 --- a/src/Form.php +++ b/src/Form.php @@ -751,7 +751,9 @@ class Form implements Renderable // if related is empty if (is_null($related)) { $related = $relation->getRelated(); - ...
[fix]#<I> hasOne relation should use localKey
z-song_laravel-admin
train
php
0d9996b1a0cd4396c774fa052ff73cc9116054ec
diff --git a/lib/axios.js b/lib/axios.js index <HASH>..<HASH> 100644 --- a/lib/axios.js +++ b/lib/axios.js @@ -78,7 +78,10 @@ Axios.prototype.request = function request(config) { var defaultInstance = new Axios(defaults); var axios = module.exports = bind(Axios.prototype.request, defaultInstance); -module.exports.A...
Adding request function to exported singleton #<I>
axios_axios
train
js,js
1d2fb08809f6784a0f85408453d965f048a663ae
diff --git a/django_auth_ldap/backend.py b/django_auth_ldap/backend.py index <HASH>..<HASH> 100644 --- a/django_auth_ldap/backend.py +++ b/django_auth_ldap/backend.py @@ -304,7 +304,7 @@ class _LDAPUser(object): if self._user_dn is None: try: self._load_user_dn() - exce...
Syntax error in last-minute change.
django-auth-ldap_django-auth-ldap
train
py
3b8321675f2f70e63708de7516a013727a67b7da
diff --git a/cas-server-support-ldap/src/main/java/org/jasig/cas/authentication/LdapAuthenticationHandler.java b/cas-server-support-ldap/src/main/java/org/jasig/cas/authentication/LdapAuthenticationHandler.java index <HASH>..<HASH> 100644 --- a/cas-server-support-ldap/src/main/java/org/jasig/cas/authentication/LdapAuth...
LPPE, with ldap date converters and configuration bassed on ldaptive. Work in progress.
apereo_cas
train
java
cd2c04acdd7ca1f0957ad99403d4af29cb9a75df
diff --git a/lib/namespace.rb b/lib/namespace.rb index <HASH>..<HASH> 100644 --- a/lib/namespace.rb +++ b/lib/namespace.rb @@ -4,6 +4,7 @@ module Atomy def self.namespaced(ns, name) return name.to_s if !ns or ns == "_" + raise "empty name" unless name && !name.empty? ns.to_s + NAMESPACE_DELIM + name.t...
fail if Atomy::namespaced is called with an empty name
vito_atomy
train
rb
d5c9278869daadb5c48dae3c88bd0494964c0345
diff --git a/closure/goog/events/eventtype.js b/closure/goog/events/eventtype.js index <HASH>..<HASH> 100644 --- a/closure/goog/events/eventtype.js +++ b/closure/goog/events/eventtype.js @@ -94,5 +94,10 @@ goog.events.EventType = { HASHCHANGE: 'hashchange', PAGEHIDE: 'pagehide', PAGESHOW: 'pageshow', - POPSTA...
Adding copy/cut/paste event strings to goog.events.EventType R=pupius DELTA=6 (5 added, 0 deleted, 1 changed) Revision created by MOE tool push_codebase. MOE_MIGRATION=<I> git-svn-id: <URL>
google_closure-library
train
js
7ecad71bce4d5f6deb892269f28e36c7daee86aa
diff --git a/tasks/cucumber.js b/tasks/cucumber.js index <HASH>..<HASH> 100644 --- a/tasks/cucumber.js +++ b/tasks/cucumber.js @@ -169,13 +169,17 @@ module.exports = function(grunt) { if(element.failed > 0) { return feature.failed++; } - feature.passed++; + if (eleme...
Keep stats at 0 if nothing passed
mavdi_grunt-cucumberjs
train
js
91f9102ca473633ce5445d3b31371b4ba8c1750c
diff --git a/cheroot/server.py b/cheroot/server.py index <HASH>..<HASH> 100644 --- a/cheroot/server.py +++ b/cheroot/server.py @@ -911,7 +911,14 @@ class HTTPRequest: return False mrbs = self.server.max_request_body_size - if mrbs and int(self.inheaders.get(b'Content-Length', 0)) > mrbs: ...
Fix #<I> Non-int content-length header Use try/except to catch ValueError when converting content-length to int. Responds to client with <I> error rather than <I> error.
cherrypy_cheroot
train
py
9daf3fa97277a76dea4fb0c2fbcddf337d28fa9c
diff --git a/test.go b/test.go index <HASH>..<HASH> 100755 --- a/test.go +++ b/test.go @@ -55,6 +55,7 @@ var ( retryMax = flag.Int("retry", 3, "max number of retries, to detect flaky tests") logPass = flag.Bool("log-pass", false, "log test output even if it passes") timeout = flag.Duration("timeout", 10*time.Mi...
test.go: Re-pull bootstrap image by default.
vitessio_vitess
train
go
8a803bb54b624ea56d53b622c94c570a19ffa4c1
diff --git a/jenetics.ext/src/test/java/io/jenetics/ext/moea/VecTest.java b/jenetics.ext/src/test/java/io/jenetics/ext/moea/VecTest.java index <HASH>..<HASH> 100644 --- a/jenetics.ext/src/test/java/io/jenetics/ext/moea/VecTest.java +++ b/jenetics.ext/src/test/java/io/jenetics/ext/moea/VecTest.java @@ -31,7 +31,6 @@ pub...
Fix 'Vec' test.
jenetics_jenetics
train
java
a4964f0c72938225be62f7b9e9b64d56c8af05a3
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ def read_file(filename): setup( name = "ImagingReso", - version = "1.5.9", + version = "1.5.10", author = "Yuxuan (Shawn) Zhang, Jean Bilheux", author_email = "zhangy6@ornl.gov, bilheuxjm...
Changed version to <I>
ornlneutronimaging_ImagingReso
train
py
2ca49bc105fa77f2df2fa8518c9a798d6629700b
diff --git a/simpleclient_common/src/main/java/io/prometheus/client/exporter/common/TextFormat.java b/simpleclient_common/src/main/java/io/prometheus/client/exporter/common/TextFormat.java index <HASH>..<HASH> 100644 --- a/simpleclient_common/src/main/java/io/prometheus/client/exporter/common/TextFormat.java +++ b/simp...
removed collection create on writing metrics - used enumeration for iteration (#<I>)
prometheus_client_java
train
java
023886a4622720d365e8b72199bd25489d7e7aa8
diff --git a/aeron-archive/src/main/java/io/aeron/archive/ArchiveMarkFile.java b/aeron-archive/src/main/java/io/aeron/archive/ArchiveMarkFile.java index <HASH>..<HASH> 100644 --- a/aeron-archive/src/main/java/io/aeron/archive/ArchiveMarkFile.java +++ b/aeron-archive/src/main/java/io/aeron/archive/ArchiveMarkFile.java @...
[Java]: check buffer capcity of mapped file when reading error buffer of existing ArchiveMarkFile.
real-logic_aeron
train
java
2bc7c2f476d13ef4cfaecfc77fec3d9cc7f069f2
diff --git a/lib/papertrail/cli.rb b/lib/papertrail/cli.rb index <HASH>..<HASH> 100644 --- a/lib/papertrail/cli.rb +++ b/lib/papertrail/cli.rb @@ -101,6 +101,8 @@ module Papertrail if File.exists?(path = File.expand_path('~/.papertrail.yml')) return path end + + abort 'Config file not found....
Abort if config file not found; add example file to usage (fix #<I>)
papertrail_papertrail-cli
train
rb
74795ac51d5ed32b74dfb1405cd7bcc8c7b2849d
diff --git a/lib/resource_renderer/version.rb b/lib/resource_renderer/version.rb index <HASH>..<HASH> 100644 --- a/lib/resource_renderer/version.rb +++ b/lib/resource_renderer/version.rb @@ -1,3 +1,3 @@ module ResourceRenderer - VERSION = '1.2.4' + VERSION = '1.2.5' end
Bumped version to <I>
robotex82_resource_renderer
train
rb
bac16622426d21768ebf6b4c895936965a3ffd66
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -69,7 +69,7 @@ setup( 'PyYaml>=4.2b1', 'dnspython>=1.15.0', 'futures>=3.2.0; python_version<"3.2"', - 'ipaddress>=1.0.22', + 'ipaddress>=1.0.22; python_version<"3.2"', 'natsort...
fix: dependency 'ipaddress' unnecessary for py >= <I>
github_octodns
train
py
36d01fdf3c4eb9eb780ca9fad4f3526f8a4456fa
diff --git a/src/ResourceCollection.php b/src/ResourceCollection.php index <HASH>..<HASH> 100644 --- a/src/ResourceCollection.php +++ b/src/ResourceCollection.php @@ -28,7 +28,7 @@ class ResourceCollection extends \Illuminate\Support\Collection /** * Returns api resources * - * @return array + ...
Add type annotations to ResourceCollection
ethical-jobs_sdk-php
train
php
38f33a7d729cada0cff162af35cbce81d1cf13ff
diff --git a/fifolock.py b/fifolock.py index <HASH>..<HASH> 100644 --- a/fifolock.py +++ b/fifolock.py @@ -1,11 +1,14 @@ -import collections +from collections import ( + defaultdict as _defaultdict, + deque as _deque, +) class FifoLock(): def __init__(self): - self._waiters = collections.deque(...
(refactor) Reduce lookups and 'hide' imports
michalc_fifolock
train
py
abe29fe829e9a59e3cc2697f8ddf01659564799c
diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/PackageLocation.java b/core/src/main/java/com/google/errorprone/bugpatterns/PackageLocation.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/com/google/errorprone/bugpatterns/PackageLocation.java +++ b/core/src/main/java/com/google/errorprone/bu...
Migrate from `suppressibility = CUSTOM_ANNOTATION` to suppressionAnnotations MOE_MIGRATED_REVID=<I>
google_error-prone
train
java
016ff2f57a9a4bb2aa1ed14c627f5dd7388939b2
diff --git a/healthy/healthy_test.go b/healthy/healthy_test.go index <HASH>..<HASH> 100644 --- a/healthy/healthy_test.go +++ b/healthy/healthy_test.go @@ -146,5 +146,21 @@ func Test_RunningChecks(t *testing.T) { So(badCheck.Count, ShouldEqual, 2) So(badCheck.Status, ShouldEqual, FAILED) }) + + Convey("Check...
Check that unhealthy checks return to health.
newrelic_sidecar
train
go
b27c3524df6c2f9325cb599c607cfddd18277e36
diff --git a/yahoo_historical/fetch.py b/yahoo_historical/fetch.py index <HASH>..<HASH> 100644 --- a/yahoo_historical/fetch.py +++ b/yahoo_historical/fetch.py @@ -3,6 +3,7 @@ import pandas as pd import requests import re import time +import calendar as cal try: from io import StringIO except ImportError: @@ -...
replaced time.mktime with calendar.timegm to resolve problem for anaconda distribution of Python <I> where time.mktime cannot handle dates prior to <I>/<I>/<I>. calendar.timegm can handle all dates.
AndrewRPorter_yahoo-historical
train
py
658777d9ba2037dd982c49bb0d8537536e2a2a68
diff --git a/Minimal-J/src/main/java/ch/openech/mj/swing/toolkit/SwingGridFormLayout.java b/Minimal-J/src/main/java/ch/openech/mj/swing/toolkit/SwingGridFormLayout.java index <HASH>..<HASH> 100644 --- a/Minimal-J/src/main/java/ch/openech/mj/swing/toolkit/SwingGridFormLayout.java +++ b/Minimal-J/src/main/java/ch/openech...
SwingFormLayout more stable in vertical
BrunoEberhard_minimal-j
train
java
754933d874853d3afb204e329c89b0e6bd5a68c9
diff --git a/src/commons/BaseComponent.js b/src/commons/BaseComponent.js index <HASH>..<HASH> 100644 --- a/src/commons/BaseComponent.js +++ b/src/commons/BaseComponent.js @@ -149,10 +149,10 @@ export default class BaseComponent extends Component { const alignmentRules = {}; if (row) { alignments.flexDi...
support spread modifier to apply space-between to views
wix_react-native-ui-lib
train
js
f51f48615debaa4184f83c9f434c28620bf4e079
diff --git a/lib/rsslib.php b/lib/rsslib.php index <HASH>..<HASH> 100644 --- a/lib/rsslib.php +++ b/lib/rsslib.php @@ -320,8 +320,8 @@ if (!isset($CFG->block_rss_timeout) ) { // Defines for moodle's use of magpierss classes define('MAGPIE_DIR', $CFG->dirroot.'/lib/magpie/'); -define('MAGPIE_CACHE_DIR', $CFG->dataro...
removed directory separator which is duplicated when rss_cache.inc creates filenames
moodle_moodle
train
php
b0ed5e6e95cede8804e70c360fcdb80ee1cfdd50
diff --git a/src/main/java/org/minimalj/frontend/impl/json/JsonPageManager.java b/src/main/java/org/minimalj/frontend/impl/json/JsonPageManager.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/minimalj/frontend/impl/json/JsonPageManager.java +++ b/src/main/java/org/minimalj/frontend/impl/json/JsonPageManager.ja...
JsonPageManager: warnings removed
BrunoEberhard_minimal-j
train
java
712fda9865d6769c8b864d6ebbf3adaa172ebbdb
diff --git a/jsonschema/cli.py b/jsonschema/cli.py index <HASH>..<HASH> 100644 --- a/jsonschema/cli.py +++ b/jsonschema/cli.py @@ -24,14 +24,12 @@ class CliOutputWriter(): def __init__( self, output_format, - oneline_format, + plain_format, stdout=sys.stdout, stder...
[CLI] Remove mandatory \n at the end of plain error.
Julian_jsonschema
train
py
10c6c6063b4d06488d9f7f05704b55910b93804d
diff --git a/admin/cron.php b/admin/cron.php index <HASH>..<HASH> 100644 --- a/admin/cron.php +++ b/admin/cron.php @@ -18,6 +18,10 @@ require_once("../config.php"); if (!$alreadyadmin = isadmin()) { + unset($_SESSION['USER']); + unset($USER); + unset($_SESSION['SESSION']); + unse...
Even safer implementation of the temporary $USER variable
moodle_moodle
train
php
06b4beb4c2a9d1e4b03db28fbbd93ebd75d5a935
diff --git a/cairocffi/__init__.py b/cairocffi/__init__.py index <HASH>..<HASH> 100644 --- a/cairocffi/__init__.py +++ b/cairocffi/__init__.py @@ -46,7 +46,7 @@ def dlopen(ffi, library_names, filenames): cairo = dlopen( - ffi, ('cairo', 'libcairo-2'), + ffi, ('cairo-2', 'cairo', 'libcairo-2'), ('libcair...
Support cairo-2 library Today I was building latest version of cairo with meson and found it produced the output as `cairo-2.dll` adding it.
Kozea_cairocffi
train
py
880a1716c80f52b7a78f6ad5664fe61219cc0387
diff --git a/pyte/text.py b/pyte/text.py index <HASH>..<HASH> 100644 --- a/pyte/text.py +++ b/pyte/text.py @@ -388,6 +388,12 @@ class ControlCharacter(object): def __repr__(self): return self.__class__.__name__ + def split(self): + yield self + + def spans(self): + yield self + cl...
add missing methods to ControlCharacter
brechtm_rinohtype
train
py
47472999146f160a29b6d31fbab50c98bc57e484
diff --git a/alerta/server/database.py b/alerta/server/database.py index <HASH>..<HASH> 100644 --- a/alerta/server/database.py +++ b/alerta/server/database.py @@ -31,9 +31,10 @@ class Mongo(object): LOG.error('MongoDB database error : %s', e) sys.exit(1) - if self.conn.alive(): - ...
problem with conn.alive() under pymongo <I>
alerta_alerta
train
py
e3e4ca5ae9bc986710945f6173c6601037895261
diff --git a/repository/equella/callback.php b/repository/equella/callback.php index <HASH>..<HASH> 100644 --- a/repository/equella/callback.php +++ b/repository/equella/callback.php @@ -46,8 +46,8 @@ if (isset($info->thumbnail)) { } $author = ''; -if (isset($info->author)) { - $author = s(clean_param($info->aut...
MDL-<I> equella: owner field in JSON maps back to author
moodle_moodle
train
php
5a066f7a075ca822da59d665cfe88f0afd39a793
diff --git a/strif.py b/strif.py index <HASH>..<HASH> 100644 --- a/strif.py +++ b/strif.py @@ -43,6 +43,9 @@ def dict_merge(*dict_list): """ Given zero or more dicts, shallow copy and merge them into a new dict, with precedence to dictionary values later in the dict list. + Helpful mainly before Python 3.5. +...
Comment on dict_merge.
jlevy_strif
train
py
fc5c657e45c560e5ecc8e74695b9cde8616450aa
diff --git a/inginious/backend/backend.py b/inginious/backend/backend.py index <HASH>..<HASH> 100644 --- a/inginious/backend/backend.py +++ b/inginious/backend/backend.py @@ -173,12 +173,8 @@ class Backend(object): #jobs_waiting: a list of tuples in the form #(job_id, is_current_client_job, info, la...
[backend] waiting_job.msg is now always a ClientNewJob
UCL-INGI_INGInious
train
py
db894a1c5df0b85302c9a7ce66c67037ee347c72
diff --git a/bin/jade.js b/bin/jade.js index <HASH>..<HASH> 100755 --- a/bin/jade.js +++ b/bin/jade.js @@ -135,7 +135,7 @@ function watchFile(path, base) { console.log(" \033[90mwatching \033[36m%s\033[0m", path); fs.watchFile(path, {persistent: true, interval: 200}, function (curr, prev) { - ...
Remove wrong "istanbul ignore if"
pugjs_then-pug
train
js
13befab510ce438f422cbefac045bc7f83d4968d
diff --git a/conftest.py b/conftest.py index <HASH>..<HASH> 100644 --- a/conftest.py +++ b/conftest.py @@ -1,14 +1,15 @@ import py import pytest -from fake_filesystem_unittest import _Patcher +from pyfakefs.fake_filesystem_unittest import Patcher -_Patcher.SKIPMODULES.add(py) # Ignore pytest components when faking...
Change _Patcher to Patcher in conftest.py
jmcgeheeiv_pyfakefs
train
py
8f805922cff09324e9ad2a749196c170a60dca0f
diff --git a/test/integration/generated_regress_test.rb b/test/integration/generated_regress_test.rb index <HASH>..<HASH> 100644 --- a/test/integration/generated_regress_test.rb +++ b/test/integration/generated_regress_test.rb @@ -1492,6 +1492,9 @@ describe Regress do Class.new(Regress::...
Install property in derived class This property is required by TestInterface starting from gobject-introspection version <I>.
mvz_gir_ffi
train
rb
869ecb55ea444d92d8ed4d337414986ee36924e3
diff --git a/src/js/components/Select/stories/Basics.js b/src/js/components/Select/stories/Basics.js index <HASH>..<HASH> 100644 --- a/src/js/components/Select/stories/Basics.js +++ b/src/js/components/Select/stories/Basics.js @@ -48,4 +48,6 @@ for (let i = 1; i <= 200; i += 1) { }); } -storiesOf('Select', module...
merged with master disabled chromatic for story
grommet_grommet
train
js
016a8adcdf8b702effca5c60d354e8cfa90047d4
diff --git a/plugins/CoreHome/javascripts/dataTable_rowactions.js b/plugins/CoreHome/javascripts/dataTable_rowactions.js index <HASH>..<HASH> 100644 --- a/plugins/CoreHome/javascripts/dataTable_rowactions.js +++ b/plugins/CoreHome/javascripts/dataTable_rowactions.js @@ -386,7 +386,13 @@ DataTable_RowActions_RowEvolutio...
refs piwik/plugin-CustomDimensions#<I> detect idDimension from url instead of hash if it is widgetized
matomo-org_matomo
train
js
6064a734320df12614b19ae98659b6687362d009
diff --git a/lib/index.js b/lib/index.js index <HASH>..<HASH> 100644 --- a/lib/index.js +++ b/lib/index.js @@ -120,7 +120,7 @@ var GoogleSheets = function(ssKey, authId, options) { ], function(err, results) { if (err) cb(err); - cb(null, results[1].result, results[1].body); + else cb(null, resul...
cb called twice if err
heitortsergent_google-drive-sheets
train
js
89b34a15533cf32eb055a599600adf3a6f9cbd0d
diff --git a/infi/execute/result.py b/infi/execute/result.py index <HASH>..<HASH> 100644 --- a/infi/execute/result.py +++ b/infi/execute/result.py @@ -91,12 +91,12 @@ class Result(object): if self._assert_success and returncode is not None and returncode != 0: raise ExecutionError(self) def _...
changed busy loop in Result._read_from_pipe to iterative instead of recursive because there might be a case where it needs to loop for more than Python's stack size.
Infinidat_infi.execute
train
py
7223813c221492f89ea8593383a79e94a376dde5
diff --git a/js/angular/components/common/common.js b/js/angular/components/common/common.js index <HASH>..<HASH> 100644 --- a/js/angular/components/common/common.js +++ b/js/angular/components/common/common.js @@ -201,9 +201,21 @@ element.on('click', function(e) { var tar = e.target, avoid, activeEleme...
jqlite-friendly fix for issue #<I> Fix issue where nested elements within a ba-open (etc) element would not open the thing that was supposed to be opened.
base-apps_angular-base-apps
train
js
22be415d79961c55412e8521d45165ab9b5943b3
diff --git a/src/jquery.contextMenu.js b/src/jquery.contextMenu.js index <HASH>..<HASH> 100755 --- a/src/jquery.contextMenu.js +++ b/src/jquery.contextMenu.js @@ -1166,6 +1166,11 @@ $.contextMenu = function(operation, options) { namespaces[o.selector] = o.ns; menus[o.ns] = o; ...
default to right click activation (like explained in the docs)
swisnl_jQuery-contextMenu
train
js
80cd5596aafc59ba2ea2235aad13a8940a581b3d
diff --git a/lib/modules/apostrophe-schemas/index.js b/lib/modules/apostrophe-schemas/index.js index <HASH>..<HASH> 100644 --- a/lib/modules/apostrophe-schemas/index.js +++ b/lib/modules/apostrophe-schemas/index.js @@ -977,12 +977,13 @@ module.exports = { converters: { string: function(req, data, name, ...
Improve min and max filtering Does not care if field is required
apostrophecms_apostrophe
train
js
6ad66249807c73d6857d2e33b132e5fd0664399d
diff --git a/modules/citrus-core/src/main/java/com/consol/citrus/validation/xml/DomXmlMessageValidator.java b/modules/citrus-core/src/main/java/com/consol/citrus/validation/xml/DomXmlMessageValidator.java index <HASH>..<HASH> 100644 --- a/modules/citrus-core/src/main/java/com/consol/citrus/validation/xml/DomXmlMessageV...
Enhanced debug output on XML validation error. Now all validation errors are presented in the debug output. This allows fixing all reported validation problems after one test execution.
citrusframework_citrus
train
java
92707782b817c52d71d6975ca561c5a19880441f
diff --git a/lib/ruck/shreduler.rb b/lib/ruck/shreduler.rb index <HASH>..<HASH> 100644 --- a/lib/ruck/shreduler.rb +++ b/lib/ruck/shreduler.rb @@ -47,7 +47,22 @@ module Ruck loop { return unless run_one } end - # makes this the global shreduler + def run_until(target_time) + return if targe...
Shreduler#run_until(time) runs any shreds scheduled for the provided time, then fast-forwards to that time
alltom_ruck
train
rb
5e8af62356728bc448ed4ffe7c300ceec25f28ee
diff --git a/test/main.js b/test/main.js index <HASH>..<HASH> 100644 --- a/test/main.js +++ b/test/main.js @@ -148,6 +148,8 @@ describe('gulp-sass -- async compile', function() { err.message.indexOf('test/scss/error.scss').should.not.equal(-1); // Error must include line and column error occurs on ...
add relativePath assertion to sync test
dlmanning_gulp-sass
train
js
cecc95276681d38f7071e43b7df1959244a19de1
diff --git a/tests/unit/src/BirthdayTest.php b/tests/unit/src/BirthdayTest.php index <HASH>..<HASH> 100644 --- a/tests/unit/src/BirthdayTest.php +++ b/tests/unit/src/BirthdayTest.php @@ -35,7 +35,7 @@ class BirthdayTest extends PHPUnit_Framework_TestCase { public function testExceptionInFuture() { $t...
<I> - BirthdayTest corrected
g4code_value-object
train
php
a823b699e81b9a4a16a0bbc5c3aa6019f86aa993
diff --git a/code/libraries/koowa/libraries/koowa.php b/code/libraries/koowa/libraries/koowa.php index <HASH>..<HASH> 100644 --- a/code/libraries/koowa/libraries/koowa.php +++ b/code/libraries/koowa/libraries/koowa.php @@ -77,7 +77,7 @@ class Koowa if(isset($config['vendor_path'])) { $this->_vendo...
re #<I> : Set default composer vendor path to /libraries/vendor to be forward compatible with Joomla <I>.
joomlatools_joomlatools-framework
train
php
6957ccc9e25b699d521e05ed3643624087265595
diff --git a/axiom/attributes.py b/axiom/attributes.py index <HASH>..<HASH> 100644 --- a/axiom/attributes.py +++ b/axiom/attributes.py @@ -899,7 +899,7 @@ class integer(SQLAttribute): def infilter(self, pyval, oself, store): if pyval is None: return None - requireType(self, pyval, intt...
Missed a tricky case.
twisted_axiom
train
py
cc9ef504b5f801204fa9c8ef0d6e656e77f8bdf6
diff --git a/lib/lemonad.js b/lib/lemonad.js index <HASH>..<HASH> 100644 --- a/lib/lemonad.js +++ b/lib/lemonad.js @@ -85,6 +85,15 @@ return _.snapshot(thing); }; + // Combintaors + // ----------- + + L.not = function(pred) { + return function() { + return !pred.apply(null, arguments); + }; + ...
Added ot as combinator
fogus_lemonad
train
js
a3c3dbff41ccc1f52a7e61a821d69634377e1131
diff --git a/bot/action/core/command/__init__.py b/bot/action/core/command/__init__.py index <HASH>..<HASH> 100644 --- a/bot/action/core/command/__init__.py +++ b/bot/action/core/command/__init__.py @@ -1,5 +1,6 @@ from bot.action.core.action import IntermediateAction from bot.action.core.command.parser import Unders...
Move initialization of ShortlyRepeatedCommandThrottler to post_setup, as api access is needed
alvarogzp_telegram-bot-framework
train
py
db7419f88f84a9e4e0de5cde4918788f477fa1a6
diff --git a/lib/components/form/settings-selector-panel.js b/lib/components/form/settings-selector-panel.js index <HASH>..<HASH> 100644 --- a/lib/components/form/settings-selector-panel.js +++ b/lib/components/form/settings-selector-panel.js @@ -26,7 +26,7 @@ class SettingsSelectorPanel extends Component { } ...
feat(form): Add Biketown+Transit to mode selector form
opentripplanner_otp-react-redux
train
js
df78b1f6eb6cd8f45f49ab7b0d4cc65595181504
diff --git a/src/rpc/File.php b/src/rpc/File.php index <HASH>..<HASH> 100644 --- a/src/rpc/File.php +++ b/src/rpc/File.php @@ -6,27 +6,15 @@ use Throwable; class File extends \think\File { - protected $persistent = false; - - /** - * 持久化该文件 - */ - public function persists() - { - $this->p...
还原rpc\File
top-think_think-swoole
train
php
6cfbd16e1d4f95339768fbe3cc62e172d3148d77
diff --git a/structs.go b/structs.go index <HASH>..<HASH> 100644 --- a/structs.go +++ b/structs.go @@ -1859,6 +1859,7 @@ const ( ErrCodeStageTopicContainsNotAllowedWordsForPublicStages = 20031 ErrCodeGuildPremiumSubscriptionLevelTooLow = 20035 + ErrCodeMaximumGuildsRea...
feat(structs): added ErrCodeMaximumGuildsReached back
bwmarrin_discordgo
train
go
7018f66c9ca76cd25bcffdaab0d64c1a174deb0a
diff --git a/rapidoid-html/src/main/java/org/rapidoid/html/impl/TagRenderer.java b/rapidoid-html/src/main/java/org/rapidoid/html/impl/TagRenderer.java index <HASH>..<HASH> 100644 --- a/rapidoid-html/src/main/java/org/rapidoid/html/impl/TagRenderer.java +++ b/rapidoid-html/src/main/java/org/rapidoid/html/impl/TagRendere...
Fixed "img" tag rendering (as single tag).
rapidoid_rapidoid
train
java
de5cf45195d69d8da4661532a7dd0d450e6d76c4
diff --git a/framework/lib/tools.js b/framework/lib/tools.js index <HASH>..<HASH> 100644 --- a/framework/lib/tools.js +++ b/framework/lib/tools.js @@ -22,6 +22,9 @@ _.mixin({ return _.deep_clone(item); }); + //fix if obj is a function, not need to clone, it is ok to return it not to clone it . + if(...
fix deep_clone bug fix deep_clone bug: if obj is a function, not need to clone, it is ok to return it not to clone it .
jifeon_autodafe
train
js
69fcf72fb8b9570b42ccd92a3b749526985ba732
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -109,19 +109,21 @@ WPOAuth.prototype.requestAccessToken = function(fn){ req.post(url, data, function (err, res, body) { if (err) return fn(err); + var obj; + try { - var obj = JSON.parse(body); + ob...
core: move callback function out of try/catch
Automattic_node-wpcom-oauth
train
js
4ea458e1a3c5b3dfeb88c2f6c015b3c06bf2bbc0
diff --git a/src/js/controls.js b/src/js/controls.js index <HASH>..<HASH> 100644 --- a/src/js/controls.js +++ b/src/js/controls.js @@ -645,7 +645,7 @@ const controls = { } else if (matches(range, this.config.selectors.inputs.volume)) { const percent = range.value * 100; range.setAttri...
Rounded aria-valuetext to 1 decimal place
sampotts_plyr
train
js
a429f8aa62786c7a89957a75528e4b68ee3b6dc1
diff --git a/js/browser.js b/js/browser.js index <HASH>..<HASH> 100755 --- a/js/browser.js +++ b/js/browser.js @@ -980,7 +980,8 @@ var igv = (function (igv) { this.getGenomicStateList(loci, this.viewportContainerWidth(), function (genomicStateList) { - var $content_header = $('#igv-content-heade...
Error dialog for unrecognized locus.
igvteam_igv.js
train
js