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
c2b90074e86f8b03a771e1b1cf19daca3a0a2c70
diff --git a/TYPO3.Flow/Classes/Locale/Xml/AbstractXmlParser.php b/TYPO3.Flow/Classes/Locale/Xml/AbstractXmlParser.php index <HASH>..<HASH> 100644 --- a/TYPO3.Flow/Classes/Locale/Xml/AbstractXmlParser.php +++ b/TYPO3.Flow/Classes/Locale/Xml/AbstractXmlParser.php @@ -85,7 +85,7 @@ abstract class AbstractXmlParser { *...
[+BUGFIX] FLOW3 (Locale): Fixed warning when bad filename given in AbstractXmlParser. Resolves #<I>. Original-Commit-Hash: <I>ba<I>d<I>c8aa<I>dc<I>bf<I>a<I>ac<I>c6a<I>
neos_flow-development-collection
train
php
d82f777ee4e3e89cfab56afb92297a6330dd8199
diff --git a/lib/hcl/day_entry.rb b/lib/hcl/day_entry.rb index <HASH>..<HASH> 100644 --- a/lib/hcl/day_entry.rb +++ b/lib/hcl/day_entry.rb @@ -23,6 +23,10 @@ module HCl end end + def notes + super || @data[:notes] = '' + end + # Append a string to the notes for this task. def append_n...
Another attempt at closing #<I>. This time there are some tests!
zenhob_hcl
train
rb,rb
311426471a8040ebfaf30ca1c353e7c390243ae5
diff --git a/lib/jaguar.js b/lib/jaguar.js index <HASH>..<HASH> 100644 --- a/lib/jaguar.js +++ b/lib/jaguar.js @@ -42,9 +42,10 @@ function Jaguar(operation, from, to, files) { if (operation === 'pack') check(from, to, files); else - check(from, to); + check(from, to); proces...
fix(jaguar) inheritance from EventEmitter'
coderaiser_node-jaguar
train
js
d9f4b75433089e82450a8351a8f69eaadd8cd71f
diff --git a/bcbio/ngsalign/alignprep.py b/bcbio/ngsalign/alignprep.py index <HASH>..<HASH> 100644 --- a/bcbio/ngsalign/alignprep.py +++ b/bcbio/ngsalign/alignprep.py @@ -82,7 +82,9 @@ def _set_align_split_size(data): if val is None: if not umi_consensus: total_size = 0 # Gb - for...
Handle split re-runs with save_diskspace set If an analysis with save_diskspace failed after split runs finish but before merging, re-runs would not pick up expected split sizes. This fixes to have consistent splitting and merging at all stages.
bcbio_bcbio-nextgen
train
py
6801e9b270fd0d83b95e1ce17ee3c06f8231aa2b
diff --git a/restclients_core/util/mock.py b/restclients_core/util/mock.py index <HASH>..<HASH> 100644 --- a/restclients_core/util/mock.py +++ b/restclients_core/util/mock.py @@ -174,4 +174,5 @@ def attempt_open_query_permutations(url, orig_file_path, is_header_file): def _compare_file_name(orig_file_path, directo...
Added unquote call to file path to avoid mismatch when directory has a url quote
uw-it-aca_uw-restclients-core
train
py
1bf8d725a91276f2332dd89d8e90feaba8750175
diff --git a/tests/acceptance/layouts-test.js b/tests/acceptance/layouts-test.js index <HASH>..<HASH> 100644 --- a/tests/acceptance/layouts-test.js +++ b/tests/acceptance/layouts-test.js @@ -18,7 +18,7 @@ test('visiting /layout-test', function(assert) { let breakpoints = deviceLayout.get('breakpoints'); let bp = ...
fix(breakpoints-test): breakpoints are now better defined
html-next_flexi-layouts
train
js
c51ec439abe5d03cfa4bb9c50f8f8588f97fb845
diff --git a/lib/discordrb/data.rb b/lib/discordrb/data.rb index <HASH>..<HASH> 100644 --- a/lib/discordrb/data.rb +++ b/lib/discordrb/data.rb @@ -1334,7 +1334,9 @@ module Discordrb # in that channel. For a text channel, it will return all online members that have permission to read it. # @return [Array<Membe...
Channel#users - default_channel is always readable
meew0_discordrb
train
rb
aae1251a9d63f8c0d4b4f87bfaca7c6476da0969
diff --git a/ariba/clusters.py b/ariba/clusters.py index <HASH>..<HASH> 100644 --- a/ariba/clusters.py +++ b/ariba/clusters.py @@ -246,7 +246,7 @@ class Clusters: for gene in sorted(self.cluster_to_dir): counter += 1 if self.verbose: - print('\nAssembling cluster', coun...
Do not output name of cluster (it is confusing)
sanger-pathogens_ariba
train
py
2b5c2f3ed58e4c3bf9185318a003cbc39dde16e6
diff --git a/_pytest/python.py b/_pytest/python.py index <HASH>..<HASH> 100644 --- a/_pytest/python.py +++ b/_pytest/python.py @@ -1987,7 +1987,7 @@ class FixtureManager: # fixture attribute continue else: - assert not name.startswith(self._argprefix) + ...
help the user in the rare case this assertion actually fails
vmalloc_dessert
train
py
486c69ece2c6480534dabd275caecfdb948e1e24
diff --git a/workalendar/europe.py b/workalendar/europe.py index <HASH>..<HASH> 100644 --- a/workalendar/europe.py +++ b/workalendar/europe.py @@ -117,5 +117,10 @@ class NorthernIrelandCalendar(UnitedKingdomCalendar): def get_variable_days(self, year): days = super(NorthernIrelandCalendar, self).get_var...
substitute for St. Patrick's day
peopledoc_workalendar
train
py,py
ba896f579e63390bd9c67e494cdc77bd57b844fe
diff --git a/test/delaunay-test.js b/test/delaunay-test.js index <HASH>..<HASH> 100644 --- a/test/delaunay-test.js +++ b/test/delaunay-test.js @@ -1,6 +1,6 @@ import tape from "@observablehq/tape"; import Delaunay from "../src/delaunay.js"; -import Context from "./context"; +import Context from "./context.js"; tap...
Use exact paths in imports. d3/d3#<I>
d3_d3-delaunay
train
js,js
701b072e1a104bce03df700c5f620d4000ccd573
diff --git a/test/unit/ajax.js b/test/unit/ajax.js index <HASH>..<HASH> 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -218,23 +218,21 @@ test("synchronous request with callbacks", function() { }); test("pass-through request object", function() { - expect(1); + expect(6); stop(true); var target = ...
There was a disabled test in the ajax test suite which said there were too many simultainous requests. I re-enabled it when I found a bug that might have been the cause of the failure instead and it seems to work fine. We can disable it again if that ends up not being the case.
jquery_jquery
train
js
26e74c8cc43cd5306237d4048b6fdecf280ea5f7
diff --git a/docker/client.py b/docker/client.py index <HASH>..<HASH> 100644 --- a/docker/client.py +++ b/docker/client.py @@ -869,7 +869,7 @@ class Client(requests.Session): res = self._post_json(url, data=start_config) self._raise_for_status(res) - def stats(self, container): + def stats(sel...
Add decode parameter to be able to the the stats as a dictionary
docker_docker-py
train
py
359b8b9b8339e45824c2b99093c5abd5655992cc
diff --git a/lib/endpoints/class-wp-rest-posts-controller.php b/lib/endpoints/class-wp-rest-posts-controller.php index <HASH>..<HASH> 100755 --- a/lib/endpoints/class-wp-rest-posts-controller.php +++ b/lib/endpoints/class-wp-rest-posts-controller.php @@ -71,7 +71,7 @@ class WP_REST_Posts_Controller extends WP_REST_Cont...
set string before variable in if-statement
WP-API_WP-API
train
php
3953a9056fbf829effbc5dced68623398c1f832f
diff --git a/commands/command_push.go b/commands/command_push.go index <HASH>..<HASH> 100644 --- a/commands/command_push.go +++ b/commands/command_push.go @@ -20,7 +20,7 @@ var ( pushAll = false useStdin = false - // shares some global vars and functions with commmands_pre_push.go + // shares som...
commmands_pre_push.go -> command_pre_push.go.
git-lfs_git-lfs
train
go
5eecca29349a0fb9411e9d4e389e5f48b9e36728
diff --git a/src/Patchwork/Controller/FrontController.php b/src/Patchwork/Controller/FrontController.php index <HASH>..<HASH> 100644 --- a/src/Patchwork/Controller/FrontController.php +++ b/src/Patchwork/Controller/FrontController.php @@ -63,7 +63,7 @@ class FrontController implements ControllerProviderInterface ...
corrected LESS utility route to accepts subfolders in the path
neemzy_patchwork-core
train
php
978acb9caf9ad5e645e1e5188a0120f05822cc81
diff --git a/test/unit/event.js b/test/unit/event.js index <HASH>..<HASH> 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -1095,6 +1095,7 @@ test( "submit event bubbles on copied forms (#11649)", function(){ // Clean up $wrapperDiv.remove(); $fixture.off( "submit", "form", delegatedSubmit ); + $testFo...
Followup #<I>, clean up events in unit test.
jquery_jquery
train
js
2f0169c3ab267032237fa41ec72317c25f3886bf
diff --git a/raft/doc.go b/raft/doc.go index <HASH>..<HASH> 100644 --- a/raft/doc.go +++ b/raft/doc.go @@ -19,8 +19,16 @@ Usage The primary object in raft is a Node. You either start a Node from scratch using raft.StartNode or start a Node from some initial state using raft.RestartNode. - storage := raft.NewMemoryS...
raft: fix usage section of doc We recently added a config struct to start raft. Update our doc accordingly.
etcd-io_etcd
train
go
4b883f0bbff7d7fa65307e0e13dcf7b328131e08
diff --git a/integration/watch_test.go b/integration/watch_test.go index <HASH>..<HASH> 100644 --- a/integration/watch_test.go +++ b/integration/watch_test.go @@ -41,7 +41,7 @@ var _ = Describe("Watch", func() { startGinkgoWithGopath := func(args ...string) *gexec.Session { cmd := ginkgoCommand(rootPath, args......
Replace GOPATH in Environment Previously the test GOPATH was being prepended to the existing OS environment, which means it would be overwritten if the user had GOPATH set. Now we replace the value of GOPATH with Setenv so it will take precedence over any existing value.
onsi_ginkgo
train
go
0c9524428d1af30098c2310da7e65c80321f549a
diff --git a/src/grooveshark/const.py b/src/grooveshark/const.py index <HASH>..<HASH> 100644 --- a/src/grooveshark/const.py +++ b/src/grooveshark/const.py @@ -29,9 +29,9 @@ NO_COVER_URL = 'http://images.grooveshark.com/static/albums/70_album.png' # because the ones I extracted out of Grooveshark do not work for some r...
Update for htmlshark and jsqueue
koehlma_pygrooveshark
train
py
a57414664814cffe95e76f58a899b8f15ed8a443
diff --git a/lib/arduino_ci/cpp_library.rb b/lib/arduino_ci/cpp_library.rb index <HASH>..<HASH> 100644 --- a/lib/arduino_ci/cpp_library.rb +++ b/lib/arduino_ci/cpp_library.rb @@ -27,12 +27,17 @@ module ArduinoCI end def cpp_files_in(some_dir) - Find.find(some_dir).select { |path| CPP_EXTENSIONS.include...
avoid problems related to finding a symbolic link
ianfixes_arduino_ci
train
rb
b0eb7ec3d072298a9b00ca8dfb863b1b917bf4f3
diff --git a/lib/generators/mindapp/install_generator.rb b/lib/generators/mindapp/install_generator.rb index <HASH>..<HASH> 100644 --- a/lib/generators/mindapp/install_generator.rb +++ b/lib/generators/mindapp/install_generator.rb @@ -25,7 +25,7 @@ module Mindapp gem "rspec" gem "rspec-rails" ...
fix binding_of_caller gem on Mac
kul1_mindapp2
train
rb,rb,rake
6b03c22af309cb8740a1eaf72d3abce1cc84f501
diff --git a/pyang/plugins/depend.py b/pyang/plugins/depend.py index <HASH>..<HASH> 100644 --- a/pyang/plugins/depend.py +++ b/pyang/plugins/depend.py @@ -57,7 +57,7 @@ class DependPlugin(plugin.PyangPlugin): # cannot do this unless everything is ok for our module modulenames = [m.arg for m in modules...
Don't assume that errors have 'top' attributes
mbj4668_pyang
train
py,py
bce72759d929e473ab2213723123465e03d14260
diff --git a/lib/chatrix/room.rb b/lib/chatrix/room.rb index <HASH>..<HASH> 100644 --- a/lib/chatrix/room.rb +++ b/lib/chatrix/room.rb @@ -150,8 +150,7 @@ module Chatrix # Process state events. # @param data [Hash] Events to process. def process_state(data) - return unless data.key? 'events' - ...
Make Room#process_state look cleaner
Sharparam_chatrix
train
rb
46b4dfc6bf962295551615db89b95f47e02f4bd5
diff --git a/src/hello.js b/src/hello.js index <HASH>..<HASH> 100644 --- a/src/hello.js +++ b/src/hello.js @@ -895,7 +895,7 @@ hello.utils.extend( hello.utils, { return window.location; } // Chrome and FireFox support new URL() to extract URL objects - else if( window.URL && URL instanceof Function ){ + els...
fix bug: illegal constructor in FF v<=<I>
MrSwitch_hello.js
train
js
665c598bf1a6e1ac6bcc2e5829f334a6af808078
diff --git a/api/policies/CriteriaPolicy.js b/api/policies/CriteriaPolicy.js index <HASH>..<HASH> 100644 --- a/api/policies/CriteriaPolicy.js +++ b/api/policies/CriteriaPolicy.js @@ -93,7 +93,9 @@ function responsePolicy(criteria, _data, options) { if (filtered.length) { if (crit.blacklist && crit.bla...
fix how blacklisted keys are filtered from response
trailsjs_sails-permissions
train
js
1a00a84472b9dfbb83e84d8644aaa15098eb2cc2
diff --git a/application.go b/application.go index <HASH>..<HASH> 100644 --- a/application.go +++ b/application.go @@ -338,6 +338,10 @@ func (client *Client) ApplicationOK(name string) (bool, error) { for _, task := range application.Tasks { if task.HealthCheckResult != nil { for _, check := range task.Heal...
added check for nil check in healthcheckresult
gambol99_go-marathon
train
go
92e98a1feddec2a905d7d4c312835ab24079effe
diff --git a/libs/logger.js b/libs/logger.js index <HASH>..<HASH> 100644 --- a/libs/logger.js +++ b/libs/logger.js @@ -2,7 +2,7 @@ const util = require('util') util.inspect.defaultOptions.maxArrayLength = null util.inspect.defaultOptions.colors = true -const env = process.env.NODE_ENV +const env = process.env.NODE_...
fix: logger initialization in production environment
konnectors_libs
train
js
c5264ce196c2f6d60b9d662a160f8e146c9aa23c
diff --git a/src/css.js b/src/css.js index <HASH>..<HASH> 100644 --- a/src/css.js +++ b/src/css.js @@ -3,7 +3,7 @@ var ralpha = /alpha\([^)]*\)/i, ropacity = /opacity=([^)]*)/, rdashAlpha = /-([a-z])/ig, - rupper = /([A-Z])/g, + rupper = /([A-Z]|^ms)/g, rnumpx = /^-?\d+(?:px)?$/i, rnum = /^-?\d/,
fix the regular expression that turns camel-case properties to lower-case ones for IE9. Fixes #<I>
jquery_jquery
train
js
e10bca512bb73fb59d61c99300748fc77ec7e08b
diff --git a/dynamic_dynamodb/dynamic_dynamodb.py b/dynamic_dynamodb/dynamic_dynamodb.py index <HASH>..<HASH> 100755 --- a/dynamic_dynamodb/dynamic_dynamodb.py +++ b/dynamic_dynamodb/dynamic_dynamodb.py @@ -260,7 +260,12 @@ class DynamicDynamoDB: """ self._ensure_dynamodb_connection() table =...
Now supporting dry run And some output fixed
sebdah_dynamic-dynamodb
train
py
f67e04f478420a28e8084b1df1d21961f3fd1e15
diff --git a/logback-android/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingWithArchiveRemoval_Test.java b/logback-android/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingWithArchiveRemoval_Test.java index <HASH>..<HASH> 100755 --- a/logback-android/src/test/java/ch/qos/logback/core/rolling/TimeBas...
TimeBasedRollingWithArchiveRemoval_Test.checkCleanupForBasicDailyRolloverWit hSizeCap pass on both Windows and Linux <URL>
tony19_logback-android
train
java
c10f375a5eda9e54e7df88eafa6f24cbcfce37b1
diff --git a/pgstore.go b/pgstore.go index <HASH>..<HASH> 100644 --- a/pgstore.go +++ b/pgstore.go @@ -31,7 +31,8 @@ type Session struct { ExpiresOn time.Time `db:"expires_on"` } -// NewPGStore creates a new PGStore instance and a new database/sql pool +// NewPGStore creates a new PGStore instance and a new datab...
Improved docs for #<I>
antonlindstrom_pgstore
train
go
03b551fdb144b07af6c42373074def962d979da7
diff --git a/watch.go b/watch.go index <HASH>..<HASH> 100644 --- a/watch.go +++ b/watch.go @@ -8,6 +8,8 @@ import ( "gopkg.in/fsnotify.v1" ) +const chmodMask fsnotify.Op = ^fsnotify.Op(0) ^ fsnotify.Chmod + // watch recursively watches changes in root and reports the filenames to names. // It sends an error on t...
Only ignore events that are *only* CHMOD Fixes #<I>.
cespare_reflex
train
go
ad2cc37e6487f3238ddca9bf017a67247fd85f05
diff --git a/lib/backup/cli/utility.rb b/lib/backup/cli/utility.rb index <HASH>..<HASH> 100644 --- a/lib/backup/cli/utility.rb +++ b/lib/backup/cli/utility.rb @@ -190,6 +190,7 @@ module Backup desc 'dependencies', 'Display the list of dependencies for Backup, or install them through Backup.' method_option...
added ability to check if a dependency is already installed.
backup_backup
train
rb
47fedffcda2444976ed3f8635acaa797bdce44b3
diff --git a/network_interfaces/iface.py b/network_interfaces/iface.py index <HASH>..<HASH> 100644 --- a/network_interfaces/iface.py +++ b/network_interfaces/iface.py @@ -1,6 +1,5 @@ # -*- coding: utf-8 -*- from .stanza import MultilineStanza -import ipcalc from .errors import ValidationError __author__ = 'vahid' ...
Fixed Error, function not found in ipcalc Error: AttributeError: 'IP' object has no attribute 'guess_network'
pylover_network-interfaces
train
py
2ffda8a7a5ea06faf6570c696a93d17ccb375ee1
diff --git a/douban/douban.py b/douban/douban.py index <HASH>..<HASH> 100644 --- a/douban/douban.py +++ b/douban/douban.py @@ -269,7 +269,7 @@ class Win(cli.Cli): artist = colored(song['artist'], 'white') self.SUFFIX_SELECTED = (love + ' ' + title + ' • ' + albumtitle + ' • ' + artist + ' ' + song['pu...
Force using soft volume for mplayer
taizilongxu_douban.fm
train
py
4b8f7ea2c9bb44ac9bdbd440ef778323d5a66d28
diff --git a/module.js b/module.js index <HASH>..<HASH> 100644 --- a/module.js +++ b/module.js @@ -1,16 +1,15 @@ module.exports = require( 'classes' ).Module.extend({ preRoute: function( UserModel, AccountModel ) { - UserModel.on( 'preQuery', function( options ) { - var nestedInclude = { - ...
fix(findOptions): Updated to use the new hooks
CleverStack_clever-accounts
train
js
8d2d6cb162237a7e93ae5d5378dfaefc7ebd078a
diff --git a/gubernator/gcs_async.py b/gubernator/gcs_async.py index <HASH>..<HASH> 100644 --- a/gubernator/gcs_async.py +++ b/gubernator/gcs_async.py @@ -21,7 +21,7 @@ import google.appengine.ext.ndb as ndb GCS_API_URL = 'https://storage.googleapis.com' STORAGE_API_URL = 'https://www.googleapis.com/storage/v1/b' -...
Limit Gubernator GCS fetching to <I>MB (decompressed) to avoid OOMs. The frontend already discards excess log lines to avoid returning too-large responses and erroring, so this shouldn't affect normal operation.
kubernetes_test-infra
train
py
48b2281244a81877af98f56e42e80a30d5e7ae3d
diff --git a/isochrones/starmodel.py b/isochrones/starmodel.py index <HASH>..<HASH> 100644 --- a/isochrones/starmodel.py +++ b/isochrones/starmodel.py @@ -454,7 +454,9 @@ class StarModel(object): Adds non-photometry properties to ObservationTree """ for k,v in kwargs.items(): - if ...
make sure not to break if band has an _
timothydmorton_isochrones
train
py
01658355dae810e91cbab5fd4d0d10bbce0b4a6a
diff --git a/src/Symfony/Component/Console/Application.php b/src/Symfony/Component/Console/Application.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/Console/Application.php +++ b/src/Symfony/Component/Console/Application.php @@ -1002,6 +1002,8 @@ class Application * * @param string $commandNam...
[Console] Fix Application::setDefaultCommand() missing return in docblock
symfony_symfony
train
php
ac03edbcd53628720da20328f024ed43fc23ecf4
diff --git a/probes/src/main/java/com/hazelcast/simulator/probes/xml/HistogramConverter.java b/probes/src/main/java/com/hazelcast/simulator/probes/xml/HistogramConverter.java index <HASH>..<HASH> 100644 --- a/probes/src/main/java/com/hazelcast/simulator/probes/xml/HistogramConverter.java +++ b/probes/src/main/java/com/...
Fixed "preserve stack trace" and "avoid throwing raw exception types" issues from SonarQube.
hazelcast_hazelcast-simulator
train
java
276bddf8e44f34c6f3a7f899ad883f865ef72e4f
diff --git a/options/parser.go b/options/parser.go index <HASH>..<HASH> 100644 --- a/options/parser.go +++ b/options/parser.go @@ -36,14 +36,10 @@ func NewParser(raw []string) (p *Parser, sub string) { panic("Must use a subcommand") } p = &Parser{make(map[string]Flag), make([]string, 0)} - p.args = append(p.args...
Take two on fixing arg parsing
DataDrake_cli-ng
train
go
52c42c647d4fe43f181d4ddf5ce838a64ed28046
diff --git a/holoviews/element/raster.py b/holoviews/element/raster.py index <HASH>..<HASH> 100644 --- a/holoviews/element/raster.py +++ b/holoviews/element/raster.py @@ -41,6 +41,8 @@ class Raster(Element2D): super(Raster, self).__init__(data, extents=extents, **params) + def __getitem__(self, slices):...
Added __getitem__ to Raster to support array slicing semantics
pyviz_holoviews
train
py
05a9024cd23ddc1f9b3e7a40b7c97c5ea0c54327
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ f.close() setup( name='django-cron', - version='0.2.2', + version='0.2.3', author='Sumit Chachra', author_email='chachra@tivix.com', url='http://github.com/tivix/django-cron',
Bumping version to <I>
Tivix_django-cron
train
py
aad59cf147c887c4f709406393e8a242a49bc531
diff --git a/h2o-algos/src/main/java/hex/tree/SharedTree.java b/h2o-algos/src/main/java/hex/tree/SharedTree.java index <HASH>..<HASH> 100755 --- a/h2o-algos/src/main/java/hex/tree/SharedTree.java +++ b/h2o-algos/src/main/java/hex/tree/SharedTree.java @@ -342,6 +342,10 @@ public abstract class SharedTree<M extends Share...
Raise GBM worker thread priority to avoid some cases of deadlock with high parallel GBM job counts
h2oai_h2o-3
train
java
8d54123b51b8e4f1bf144060b30e5f91a397b3bd
diff --git a/plugins/PluginCertInfo.py b/plugins/PluginCertInfo.py index <HASH>..<HASH> 100755 --- a/plugins/PluginCertInfo.py +++ b/plugins/PluginCertInfo.py @@ -387,6 +387,8 @@ class PluginCertInfo(PluginBase.PluginBase): def _create_xml_node(key, value=''): key = key.replace(' ', '').strip() # Remove spaces ...
Replace < and > when making xml tag from dict key
nabla-c0d3_sslyze
train
py
470d31bff3a7af4a7f5964fb0d9cfbd618eedb2e
diff --git a/src/controllers/SketchpadController.php b/src/controllers/SketchpadController.php index <HASH>..<HASH> 100644 --- a/src/controllers/SketchpadController.php +++ b/src/controllers/SketchpadController.php @@ -1,5 +1,6 @@ <?php namespace davestewart\sketchpad\controllers; +use davestewart\sketchpad\config\S...
Added functionality to load custom user assets
davestewart_laravel-sketchpad
train
php
322015e22a80f0330141f2d30463a4a2a6b4e6a7
diff --git a/gbdxtools/images/meta.py b/gbdxtools/images/meta.py index <HASH>..<HASH> 100644 --- a/gbdxtools/images/meta.py +++ b/gbdxtools/images/meta.py @@ -466,7 +466,8 @@ class PlotMixin(object): if "blm" in kwargs and not kwargs["blm"]: return rgb from gbdxtools.images.tms_image impo...
support for reprojecting bounds to <I>
DigitalGlobe_gbdxtools
train
py
6dab0b28c7e19ddcca8aacaf56763e221c2cdebe
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index <HASH>..<HASH> 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -285,7 +285,7 @@ module ActiveRecord # end # # If your mo...
change GeneratedFeatureMethods to GeneratedAssociationMethods in docs the module name was changed in 8e<I>a0ac<I>d2bfd<I>d<I>d<I>e
rails_rails
train
rb
35a7a49f3c0b10c84068112bc8123e579618f523
diff --git a/lib/ebay_trading/sax_handler.rb b/lib/ebay_trading/sax_handler.rb index <HASH>..<HASH> 100644 --- a/lib/ebay_trading/sax_handler.rb +++ b/lib/ebay_trading/sax_handler.rb @@ -142,6 +142,7 @@ module EbayTrading key = key.to_s key = key.gsub('PayPal', 'Paypal') key = key.gsub('eBay', 'E...
Convert keys beginning with 'EBay' to 'Ebay' to prevent them from being symbolized to e_bay.
altabyte_ebay_trader
train
rb,rb
93049d6e8f2264fbdb1f8a6c6030b2ce97cd6e59
diff --git a/hamster/hamster-applet.py b/hamster/hamster-applet.py index <HASH>..<HASH> 100755 --- a/hamster/hamster-applet.py +++ b/hamster/hamster-applet.py @@ -86,7 +86,7 @@ def on_destroy(event): if config.get_stop_on_shutdown(): from hamster import storage last_activity = storage.get_last_ac...
Fixed fail on exit when there is no end time on the las activity. * hamster/hamster-applet.py: Fixed fail on exit when there is no end time on the las activity. svn path=/trunk/; revision=<I>
projecthamster_hamster
train
py
cbed252508e3409da59aee457cd734510626697e
diff --git a/src/widgets/TbForm.php b/src/widgets/TbForm.php index <HASH>..<HASH> 100644 --- a/src/widgets/TbForm.php +++ b/src/widgets/TbForm.php @@ -131,14 +131,15 @@ class TbForm extends CForm * @param array $config * @param $parent * @param array $options + * @param CModel $model * @retu...
Added a "model" parameter to the `TbForm.createForm` method signature for it to be able to pass models to underlying constructor. re #<I>
clevertech_YiiBooster
train
php
29d80c401f3af6b1799e09a5d4dd69c1b86979f3
diff --git a/cacheback/base.py b/cacheback/base.py index <HASH>..<HASH> 100644 --- a/cacheback/base.py +++ b/cacheback/base.py @@ -384,7 +384,8 @@ class Job(object): # ASYNC HELPER METHODS # -------------------- - def job_refresh(klass_str, obj_args, obj_kwargs, call_args, call_kwargs): + @classmethod...
Added missing classmethod decorator.
codeinthehole_django-cacheback
train
py
5e22bfd30fd4b0bb475e7050ef02dbb0d0f12865
diff --git a/core-bundle/src/Resources/contao/elements/ContentProxy.php b/core-bundle/src/Resources/contao/elements/ContentProxy.php index <HASH>..<HASH> 100644 --- a/core-bundle/src/Resources/contao/elements/ContentProxy.php +++ b/core-bundle/src/Resources/contao/elements/ContentProxy.php @@ -68,7 +68,7 @@ class Conte...
Fix another invalid array access (see #<I>) Description ----------- | Q | A | -----------------| --- | Fixed issues | Fixes - | Docs PR or issue | - Prevents `Warning: Undefined array key "protected"`. The code in question is called here: <URL>
contao_contao
train
php
eba4583c1df14e559bf6984b133fd03f7018e2b5
diff --git a/code/libraries/koowa/libraries/object/array.php b/code/libraries/koowa/libraries/object/array.php index <HASH>..<HASH> 100644 --- a/code/libraries/koowa/libraries/object/array.php +++ b/code/libraries/koowa/libraries/object/array.php @@ -276,7 +276,7 @@ class KObjectArray extends KObject implements Iterato...
Revert KObjectArray::__isset to its status before the refactor
joomlatools_joomlatools-framework
train
php
7be582e5e94bc04d64f6f2b6375abb91500a768a
diff --git a/spec/dummy/config/routes.rb b/spec/dummy/config/routes.rb index <HASH>..<HASH> 100644 --- a/spec/dummy/config/routes.rb +++ b/spec/dummy/config/routes.rb @@ -1,4 +1,6 @@ Dummy::Application.routes.draw do + devise_for :users, :controllers => {:omniauth_callbacks => 'omniauth_callbacks'} + # The priorit...
Include devise route in spec/dummy
ging_social_stream
train
rb
06e2f883036776bf96c81b264ecdc953f907d577
diff --git a/spec/support/event_subscriber.rb b/spec/support/event_subscriber.rb index <HASH>..<HASH> 100644 --- a/spec/support/event_subscriber.rb +++ b/spec/support/event_subscriber.rb @@ -4,20 +4,27 @@ class EventSubscriber class << self + # The started events. # # @since 2.5.0 - attr_reader ...
Ensure that EventSubscriber arrays are initialized
mongodb_mongo-ruby-driver
train
rb
7523ba68b993a8846d5a8b57127694db41d47c8a
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -11,12 +11,11 @@ import sys if 'sdist' in sys.argv or 'develop' in sys.argv: os.chdir('fluentcms_googlemaps') try: - from django.core.management.commands.compilemessages import Command - Command().exec...
Improve compilemessages in setup.py for Django <I>
django-fluent_fluentcms-googlemaps
train
py
e4f675ddc590f3d53f82afdefbb6a07b55597653
diff --git a/features/eolearn/features/interpolation.py b/features/eolearn/features/interpolation.py index <HASH>..<HASH> 100644 --- a/features/eolearn/features/interpolation.py +++ b/features/eolearn/features/interpolation.py @@ -393,6 +393,14 @@ class LinearInterpolation(InterpolationTask): super().__init__(...
added LinearInterpolationNP(InterpolationTask)
sentinel-hub_eo-learn
train
py
eb6a43a7989fc4056f80230459f69ddbb4f67c3a
diff --git a/activerecord/test/cases/associations/belongs_to_associations_test.rb b/activerecord/test/cases/associations/belongs_to_associations_test.rb index <HASH>..<HASH> 100644 --- a/activerecord/test/cases/associations/belongs_to_associations_test.rb +++ b/activerecord/test/cases/associations/belongs_to_associatio...
Fix the test case for #<I> to catch a future regression correctly I've found the test doesn't catch a future regression since it doesn't assert the result of the preload. Also, add extra assertions to assert the difference of the value type.
rails_rails
train
rb
fd0a3976d96c0c195e2960ec6ba483210fd7fb3c
diff --git a/src/hamster/lib/stuff.py b/src/hamster/lib/stuff.py index <HASH>..<HASH> 100644 --- a/src/hamster/lib/stuff.py +++ b/src/hamster/lib/stuff.py @@ -294,8 +294,8 @@ class Fact(object): activity, self.description = activity.split(",", 1) self.description = self.description.strip() -...
be more careful on sanitizing - strip out only hashes that are preceded by a whitespace, don't strip out hashes out of categories. should fix Bug <I>
projecthamster_hamster
train
py
13129fb36964d8dd05785cb84090ab3843ee6108
diff --git a/src/Error/BaseErrorHandler.php b/src/Error/BaseErrorHandler.php index <HASH>..<HASH> 100644 --- a/src/Error/BaseErrorHandler.php +++ b/src/Error/BaseErrorHandler.php @@ -122,7 +122,7 @@ class BaseErrorHandler 'description' => $description, 'file' => $file, 'line' => $...
correctly removed error and replaced it with type
strata-mvc_strata
train
php,php
f8be40321c698f4ff9c6a4e29b661b90939b4367
diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index <HASH>..<HASH> 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -18,7 +18,7 @@ class Configuration implements ConfigurationInterface public function getConfigTreeBuilder...
uncommented root node in configuration
stedekay_SpraedPDFGeneratorBundle
train
php
9cf6c4c01e8ac9dd7f3a20c7bc367644e099042e
diff --git a/src/Charcoal/Admin/Ui/DashboardTrait.php b/src/Charcoal/Admin/Ui/DashboardTrait.php index <HASH>..<HASH> 100644 --- a/src/Charcoal/Admin/Ui/DashboardTrait.php +++ b/src/Charcoal/Admin/Ui/DashboardTrait.php @@ -119,10 +119,16 @@ trait DashboardTrait */ public function createWidget(array $data = n...
Allow widgets to have a custom controller. It is now possible to specify a controler different than the template ("type") with the "controller" key: ``` { "widgets": { "mywidget":{ "type":"charcoal/admin/widget/foo-bar", "controller":"charcoal/admin/widget/project/custom-foo" } } } ```
locomotivemtl_charcoal-admin
train
php
ce04467d998ddeabdf989bc9193cb85ed8120382
diff --git a/nightwatch.js b/nightwatch.js index <HASH>..<HASH> 100644 --- a/nightwatch.js +++ b/nightwatch.js @@ -21,21 +21,21 @@ const launch_url = process.env.NOW_URL || 'https://boltdesignsystem.com'; console.log({ launch_url }); if (process.env.TRAVIS) { - setCheckRun({ - name: 'Nightwatch', - status: '...
chore: removing initial Nightwatch in_progress call
bolt-design-system_bolt
train
js
86b466710e62fdb696048d3c73d97c76e7308a8a
diff --git a/lib/lattes_api/client.rb b/lib/lattes_api/client.rb index <HASH>..<HASH> 100644 --- a/lib/lattes_api/client.rb +++ b/lib/lattes_api/client.rb @@ -22,7 +22,7 @@ module LattesApi zip_file = File.open("#{path}#{id_cnpq}.zip", 'wb') zip_file.write(decoded) zip_file.close - id_cnpq + ...
Refactore added getCurriculoCompactado
nsi-iff_lattes_api
train
rb
fc65ff69f900850c8ad25996f99a37a8033d12bf
diff --git a/lib/xrds.js b/lib/xrds.js index <HASH>..<HASH> 100644 --- a/lib/xrds.js +++ b/lib/xrds.js @@ -28,7 +28,7 @@ exports.parse = function(data) { - data = data.replace(/\n/g, ''); + data = data.replace(/\r|\n/g, ''); services = []; var serviceMatches = data.match(/<Service\s*(priority="\d+")?\s*?>(...
Delete carriage return characters before parsing XRDS
havard_node-openid
train
js
ae1765fd7472080242973c5ded03ad116cdefa35
diff --git a/liquibase-core/src/main/java/liquibase/database/core/DB2Database.java b/liquibase-core/src/main/java/liquibase/database/core/DB2Database.java index <HASH>..<HASH> 100644 --- a/liquibase-core/src/main/java/liquibase/database/core/DB2Database.java +++ b/liquibase-core/src/main/java/liquibase/database/core/DB...
CORE-<I> Detection of DB2/AS<I> improved
liquibase_liquibase
train
java
0ac9f1ae2f86e7a974450c6c38d0126cff440a23
diff --git a/Tests/Unit/ViewHelpers/Format/UrlencodeViewHelperTest.php b/Tests/Unit/ViewHelpers/Format/UrlencodeViewHelperTest.php index <HASH>..<HASH> 100644 --- a/Tests/Unit/ViewHelpers/Format/UrlencodeViewHelperTest.php +++ b/Tests/Unit/ViewHelpers/Format/UrlencodeViewHelperTest.php @@ -29,7 +29,7 @@ class Urlencode...
BUGFIX: Fix wrong classname in UrlencodeViewHelperTest
neos_fluid
train
php
850785b94dcff4b8aaef5dbb7392c7783c01d3c4
diff --git a/bigtable/google/cloud/bigtable/table.py b/bigtable/google/cloud/bigtable/table.py index <HASH>..<HASH> 100644 --- a/bigtable/google/cloud/bigtable/table.py +++ b/bigtable/google/cloud/bigtable/table.py @@ -403,7 +403,7 @@ class Table(object): considered inclusive. The default is Fals...
Fix typos in Table docstrings. (#<I>)
googleapis_google-cloud-python
train
py
b3162b4e7ab440cf9aaf53cb43a099c2178cd6e5
diff --git a/lib/haml_lint/tree/haml_comment_node.rb b/lib/haml_lint/tree/haml_comment_node.rb index <HASH>..<HASH> 100644 --- a/lib/haml_lint/tree/haml_comment_node.rb +++ b/lib/haml_lint/tree/haml_comment_node.rb @@ -10,14 +10,14 @@ module HamlLint::Tree if next_node = successor next_node.line - 1...
Fix HamlCommentNode#text There were a couple more bugs with this implementation when extracting text from comments at the end of a HAML document or containing spaces. Change-Id: Ie<I>c<I>da4d<I>a<I>d<I>a5cd<I>e<I>b3bfc Reviewed-on: <URL>
sds_haml-lint
train
rb
fb7c7326bfb6443c679ccd71ffd7744237f30679
diff --git a/lib/amazon_flex_pay.rb b/lib/amazon_flex_pay.rb index <HASH>..<HASH> 100644 --- a/lib/amazon_flex_pay.rb +++ b/lib/amazon_flex_pay.rb @@ -7,6 +7,7 @@ require 'rest_client' require 'multi_xml' require 'active_support' # camelcase, underscore require 'active_support/inflector' +require 'active_support/not...
add require for activesupport notifications, just to be explicit
kickstarter_amazon_flex_pay
train
rb
20efbd5efc06fd51316f8c75f9ca994dc4664152
diff --git a/src/Entities/Transaction.php b/src/Entities/Transaction.php index <HASH>..<HASH> 100644 --- a/src/Entities/Transaction.php +++ b/src/Entities/Transaction.php @@ -691,4 +691,20 @@ final class Transaction extends Entity { return $this->getAttribute('arn'); } + + /** + * @return stri...
Add disputeTime to Transaction (#<I>) * Add disputeTime to Transaction * Add disputeStatus to Transaction
Rebilly_rebilly-php
train
php
1ab9f586d8572086751997c5ee6acd0bf388b1e7
diff --git a/lib/did_you_mean.rb b/lib/did_you_mean.rb index <HASH>..<HASH> 100644 --- a/lib/did_you_mean.rb +++ b/lib/did_you_mean.rb @@ -85,16 +85,16 @@ require 'did_you_mean/tree_spell_checker' module DidYouMean # Map of error types and spell checker objects. SPELL_CHECKERS = Hash.new(NullChecker) - SPELL_CH...
Check if Correctable is necessary to prepend
yuki24_did_you_mean
train
rb
93087c0159139181c2171e56c8c1f3788f65d7fc
diff --git a/demos/src/SlidingPagesWithArrows.js b/demos/src/SlidingPagesWithArrows.js index <HASH>..<HASH> 100644 --- a/demos/src/SlidingPagesWithArrows.js +++ b/demos/src/SlidingPagesWithArrows.js @@ -13,8 +13,13 @@ class SlidingPagesWithArrows extends Base { get defaultState() { // Show arrow buttons if de...
Invert our logic for detecting a fine-grained pointer for purposes of deciding whether to show arrow buttons by default.
elix_elix
train
js
f8c597f7e0c3545d4cfe42021aed6be24529cf21
diff --git a/lib/util/hbHelpers.js b/lib/util/hbHelpers.js index <HASH>..<HASH> 100644 --- a/lib/util/hbHelpers.js +++ b/lib/util/hbHelpers.js @@ -115,7 +115,7 @@ module.exports.registerHelpers = function registerHelpers() { }); hb.registerHelper('getPlural', function(value) { - if (value > 1) { + if (val...
Fix {{getPlural}} 'Got 0 error' is incorrect; in English every number except 1 requires plural agreement.
sitespeedio_sitespeed.io
train
js
bbb1da0ab1f2f9bd779fa44775e84166bb357fd3
diff --git a/bin/samba.js b/bin/samba.js index <HASH>..<HASH> 100755 --- a/bin/samba.js +++ b/bin/samba.js @@ -1,6 +1,12 @@ #!/usr/bin/env node require('babel-register')({ + ignore: function(filename) { + const folder = dirname(__dirname); + if (!filename.startsWith(folder) && filename.indexOf('node_modules/...
Do not ignore samba/src/ and samba/samba files
pedsmoreira_battlecry
train
js
ac93af6d061dd3fe408a71a028764afa9990e061
diff --git a/public/js/specberus.js b/public/js/specberus.js index <HASH>..<HASH> 100644 --- a/public/js/specberus.js +++ b/public/js/specberus.js @@ -381,7 +381,7 @@ jQuery.extend({ $(document).ready(function() { $.getJSON('data/profiles.json', function(data) { - $profile.append($('<option v...
Fix issue of auto not selected in Chrom*)
w3c_specberus
train
js
aa1c9b79176ae3e735c04757f25a22eb8413948a
diff --git a/gulptasks/gulpfile.js b/gulptasks/gulpfile.js index <HASH>..<HASH> 100644 --- a/gulptasks/gulpfile.js +++ b/gulptasks/gulpfile.js @@ -380,8 +380,6 @@ npmCopyTask("text-plugin", "requirejs-text/text.js", "requirejs"); npmCopyTask("requirejs/require.js", "requirejs"); -npmCopyTask("optional-plugin", "re...
build: requirejs-optional was removed a long time ago.
mangalam-research_wed
train
js
33b61c52ce59f566ccb6e6927c09c49387bad0f0
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ def get_readme(): setup( name="docx2html", - version="0.0.5", + version="0.0.6", description="docx (OOXML) to html converter", author="Jason Ward", author_email="jason.louard.ward@gm...
bumped to <I>
PolicyStat_docx2html
train
py
84f0febb0cf5c275a3d605d75be33b69fdd3fde7
diff --git a/lib/roo/excelx.rb b/lib/roo/excelx.rb index <HASH>..<HASH> 100644 --- a/lib/roo/excelx.rb +++ b/lib/roo/excelx.rb @@ -98,10 +98,10 @@ class Roo::Excelx < Roo::Base @styles_doc = load_xml(File.join(tmpdir, 'roo_styles.xml')) read_styles(@styles_doc) end - @sheet_doc = @sheet_fi...
Fixes bug with missing sheetN.xml files in XLSX Workaround is to omit nil values from the array which was inserted into via numeric indices.
roo-rb_roo
train
rb
a7e986fc569f4fd3081489157134dd9d981800b2
diff --git a/wikidataintegrator/wdi_core.py b/wikidataintegrator/wdi_core.py index <HASH>..<HASH> 100755 --- a/wikidataintegrator/wdi_core.py +++ b/wikidataintegrator/wdi_core.py @@ -200,13 +200,14 @@ class WDItemEngine(object): self.data = [] def init_fastrun(self): - for c in self.fast_run_...
minor change in fastrun behaviour, for multithreading
SuLab_WikidataIntegrator
train
py
5a65d0b6969f3a82776bb85526ae70335126d68f
diff --git a/lib/organization_gem_dependencies/cli.rb b/lib/organization_gem_dependencies/cli.rb index <HASH>..<HASH> 100644 --- a/lib/organization_gem_dependencies/cli.rb +++ b/lib/organization_gem_dependencies/cli.rb @@ -3,8 +3,10 @@ require 'base64' require 'io/console' require 'json' -require 'octokit' require ...
Clean up require statements Follow the python import recommendations, which are system packages first, then third party, then local separated by a newline.
appfolio_organization_gem_dependencies
train
rb
aa10ac1ec3010aa471fe7570cdcf2dc52e9c6ecd
diff --git a/ribbon-transport/src/test/java/com/netflix/client/netty/udp/HelloUdpServerExternalResource.java b/ribbon-transport/src/test/java/com/netflix/client/netty/udp/HelloUdpServerExternalResource.java index <HASH>..<HASH> 100644 --- a/ribbon-transport/src/test/java/com/netflix/client/netty/udp/HelloUdpServerExter...
Move server config from before() to start()
Netflix_ribbon
train
java
2c1b1901850d4c2f91f4e2d68fe81ff43d8872c5
diff --git a/core/LibMail.php b/core/LibMail.php index <HASH>..<HASH> 100644 --- a/core/LibMail.php +++ b/core/LibMail.php @@ -57,7 +57,7 @@ class LibMail } /** - * @return null + * @return null|string[] */ public function getAllowEmailList() { @@ -65,7 +65,7 @@ class LibMail } ...
Refine PHPDoc in LibMail
sinri_enoch
train
php
564dc0a2316ca9a0c20667149b3fbccc0b52daf4
diff --git a/git_repo/services/service.py b/git_repo/services/service.py index <HASH>..<HASH> 100644 --- a/git_repo/services/service.py +++ b/git_repo/services/service.py @@ -318,14 +318,14 @@ class RepositoryService: ''' raise NotImplementedError - def gist_fetch(self, gist): + def gist_fetch...
Excluding gist virtual methods from coverage
guyzmo_git-repo
train
py
186674e808c36f82a9e9d7eacd792f26d3befa89
diff --git a/lib/cache.js b/lib/cache.js index <HASH>..<HASH> 100644 --- a/lib/cache.js +++ b/lib/cache.js @@ -7,7 +7,6 @@ var cacheSize = 0; function setLimit(limit) { if (limit == cacheSize) return; - delete lru; cacheSize = limit; if (limit > 0) lru = new LRUCache({ "maxSize": limit }); els...
Fix for strict mode Couldn't delete local variable in strict mode.
GitbookIO_rousseau
train
js
4ea76dbe8cec96bb37f2773512ab9173b0c3c011
diff --git a/widget/floatWin.js b/widget/floatWin.js index <HASH>..<HASH> 100644 --- a/widget/floatWin.js +++ b/widget/floatWin.js @@ -103,11 +103,14 @@ sb.widget.floatWin.prototype = { this.win.makeDraggable(); if(this.closeButton){ - this.addIcon(new sb.element({ + this.closeButton = this.addIcon(new sb.e...
allowing title on close button this.CloseButton is set to closeButton after creation
surebert_surebert-framework
train
js
a6955675f3f0a6de3027f2436c16cba62e2c2d77
diff --git a/spec/main-spec.js b/spec/main-spec.js index <HASH>..<HASH> 100644 --- a/spec/main-spec.js +++ b/spec/main-spec.js @@ -1,12 +1,19 @@ /* @flow */ /* eslint-disable global-require */ -import Path from 'path' +import fs from 'fs' +import path from 'path' import { it, wait } from 'jasmine-fix' describe(...
:bug: Fix specs to work with newer versions of Atom
steelbrain_package-deps
train
js
7e604ae05ad908bb89d77847ed3ffb51c057e513
diff --git a/visidata/settings.py b/visidata/settings.py index <HASH>..<HASH> 100644 --- a/visidata/settings.py +++ b/visidata/settings.py @@ -196,7 +196,7 @@ class OptionsObject: def __getitem__(self, k): # options[k] opt = self._get(k, obj=self._obj) if not opt: - vd.error('no o...
[settings] now raise Exception when requested option dne - vd.error writes to status, even within try/except blocks. This makes it hard to efficiently check for the existence of an option which might not exist (see disp_x_fmt in _types.py). - instead, support the standard behaviour for a __getitem__ which is to raise ...
saulpw_visidata
train
py
0b2b5960be62589f29350a07b58b6404d92f0e5a
diff --git a/api/discovery/validation.go b/api/discovery/validation.go index <HASH>..<HASH> 100644 --- a/api/discovery/validation.go +++ b/api/discovery/validation.go @@ -13,7 +13,7 @@ func (m *Announcement) Validate() error { switch m.ServiceName { case "router", "broker", "handler": default: - return errors.Ne...
Make validation return informative error instead of true/false Fix go fmt errors. Enabled on commit now. Closes #<I>
TheThingsNetwork_ttn
train
go
cc760f717f1d4fe7da9304bfee54a4d2ddefcbeb
diff --git a/plugins/org.eclipse.xtext.junit4/src/org/eclipse/xtext/junit4/ui/util/JavaProjectSetupUtil.java b/plugins/org.eclipse.xtext.junit4/src/org/eclipse/xtext/junit4/ui/util/JavaProjectSetupUtil.java index <HASH>..<HASH> 100644 --- a/plugins/org.eclipse.xtext.junit4/src/org/eclipse/xtext/junit4/ui/util/JavaProje...
[tests] Fixed failing test with Java7 on server or Java6 locally
eclipse_xtext-core
train
java
d553643e93870bd2adec5a841b9796633b074f88
diff --git a/core/src/elements/ons-card.js b/core/src/elements/ons-card.js index <HASH>..<HASH> 100644 --- a/core/src/elements/ons-card.js +++ b/core/src/elements/ons-card.js @@ -15,6 +15,7 @@ limitations under the License. */ +import util from '../ons/util'; import autoStyle from '../ons/autostyle'; import Modi...
fix(ons-card, ons-list): Add missing imports.
OnsenUI_OnsenUI
train
js,js
93f79b1401a810343e9c6819556e3992fca73197
diff --git a/lib/spout/version.rb b/lib/spout/version.rb index <HASH>..<HASH> 100644 --- a/lib/spout/version.rb +++ b/lib/spout/version.rb @@ -3,7 +3,7 @@ module Spout MAJOR = 0 MINOR = 3 TINY = 0 - BUILD = "pre" # nil, "pre", "rc", "rc2" + BUILD = "rc" # nil, "pre", "rc", "rc2" STRING = [MA...
Version bump to <I>.rc
nsrr_spout
train
rb
d187e7b27af8ead56fb96fa7d579f6988ea1a007
diff --git a/vivarium/interpolation.py b/vivarium/interpolation.py index <HASH>..<HASH> 100644 --- a/vivarium/interpolation.py +++ b/vivarium/interpolation.py @@ -1,12 +1,13 @@ -import pandas as pd +import warnings +import pandas as pd from scipy import interpolate class Interpolation: def __init__(self, dat...
Handling an edge case in interpolations where a continuous parameter column is passed in but the data does not have a sufficient number of parameter values to support the requested interpolation order
ihmeuw_vivarium
train
py
04add0f8173a9a48592dc1552d1346b9ed68cb78
diff --git a/lib/jsduck/merger.rb b/lib/jsduck/merger.rb index <HASH>..<HASH> 100644 --- a/lib/jsduck/merger.rb +++ b/lib/jsduck/merger.rb @@ -257,7 +257,8 @@ module JsDuck elsif code[:type] == :assignment && code[:right] && code[:right][:type] == :ext_extend code[:right][:extend].join(".") elsif...
Use of Ext.define now implies extending Ext.Base. When using Ext.define and not having {extend: "SomeClass"} or @extend SomeClass, then automatically assuming that we're extending Ext.Base.
senchalabs_jsduck
train
rb,rb
6c3ce3beef951796fe906541f99359f7d73363c5
diff --git a/test/markup_test.rb b/test/markup_test.rb index <HASH>..<HASH> 100644 --- a/test/markup_test.rb +++ b/test/markup_test.rb @@ -12,8 +12,8 @@ class MarkupTest < Test::Unit::TestCase source = File.read(readme) expected_file = "#{readme}.html" - expected = File.read(expected_file) - a...
rstrip results to avoid errors dealing with newlines at the end of a file
github_markup
train
rb
67bbd895baf2fc231cc0a57c335c2f7ce0a29c23
diff --git a/pyiso.py b/pyiso.py index <HASH>..<HASH> 100644 --- a/pyiso.py +++ b/pyiso.py @@ -2841,8 +2841,6 @@ class PyIso(object): current_extent += -(-child.data_length // self.pvd.log_block_size) # After we have reshuffled the extents we need to update the ptr # records. - ...
Remove a wrong FIXME.
clalancette_pycdlib
train
py
941132c040cafe56f9bcacb56066ace8b622bc62
diff --git a/tests/ansible/lib/modules/custom_python_new_style_missing_interpreter.py b/tests/ansible/lib/modules/custom_python_new_style_missing_interpreter.py index <HASH>..<HASH> 100644 --- a/tests/ansible/lib/modules/custom_python_new_style_missing_interpreter.py +++ b/tests/ansible/lib/modules/custom_python_new_st...
revert missing interpreter change, it breaks with Mitogen and without Mitogen, something else might be causing new-style detection to not work
dw_mitogen
train
py
ee8c93a9a60a6174d5f5a95a8fe29f69b430b5fa
diff --git a/pythainlp/tokenize/crfcut.py b/pythainlp/tokenize/crfcut.py index <HASH>..<HASH> 100644 --- a/pythainlp/tokenize/crfcut.py +++ b/pythainlp/tokenize/crfcut.py @@ -192,6 +192,7 @@ def segment(text: str) -> List[str]: toks = word_tokenize(text) feat = extract_features(toks) labs = _tagger.tag(f...
fix crfcut last segment not included if not predicted as end-of-sentence
PyThaiNLP_pythainlp
train
py